Sina Cloud App (SAE node App) layout node front end cannot be accessed

problem description

I have done a small react+webpack+express project and want to assign it to Sina Cloud"s SAE app. The code was uploaded through Sina git, and the deployment was successful, but the project just failed to start, resulting in the access to the domain name showing that the access application has been closed

clipboard.png

clipboard.png

,,5050,ip0.0.0.0 node_modulesgit.

clipboard.png

,node_modules

clipboard.png

related codes

/ / bin/www

var port = normalizePort(process.env.PORT || "5050");
var server = http.createServer(app);
server.listen(port,"0.0.0.0",function(){
  console.log("Server on port:" + port)
});
//package.json
"scripts": {
    "start": "node ./bin/www",
    "build": "webpack --progress --watch"
  },

what result do you expect? What is the error message actually seen?

expected result: Sina Cloud is successfully arranged, and the page can be accessed successfully with a second-level domain name
current result: shows that the access application is closed and the container starts up error

Apr.09,2021

has this problem been solved? I also encountered the same problem. Following the steps, the situation is the same as yours. The access application is closed

.
Menu