部署Node App时Heroku'进程退出,状态为0'错误

时间:2019-10-18 19:49:45

标签: node.js heroku

当我在Heroku上部署Nodejs应用程序时,它出现以下错误:'进程退出,状态为0 '

完整错误:

State changed from crashed to starting
2019-10-18T18:37:06.073668+00:00 heroku[web.1]: Starting process with command `: node server.js`
2019-10-18T18:37:08.520105+00:00 heroku[web.1]: Process exited with status 0
2019-10-18T18:37:08.568477+00:00 heroku[web.1]: State changed from starting to crashed
2019-10-18T18:37:12.513364+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=warm-retreat-51001.herokuapp.com request_id=2a67264a-419e-485a-bb15-43e099e2c0c6 fwd="196.157.20.129" dyno= connect= service= status=503 bytes= protocol=https
2019-10-18T18:37:13.190661+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=warm-retreat-51001.herokuapp.com request_id=9d7e8919-1e0a-4785-b493-161ba9cfd43d fwd="196.157.20.129" dyno= connect= service= status=503 bytes= protocol=https
2019-10-18T18:45:25.18405+00:00 heroku[web.1]: State changed from crashed to starting
2019-10-18T18:45:28.192234+00:00 heroku[web.1]: Starting process with command `: node server.js`
2019-10-18T18:45:31.070146+00:00 heroku[web.1]: Process exited with status 0
2019-10-18T18:45:31.122076+00:00 heroku[web.1]: State changed from starting to crashed
2019-10-18T18:51:21+00:00 app[api]: Build started by user ahmednaguib76@gmail.com
2019-10-18T18:51:34.32282+00:00 heroku[web.1]: State changed from crashed to starting
2019-10-18T18:51:34.048561+00:00 app[api]: Release v5 created by user ahmednaguib76@gmail.com
2019-10-18T18:51:34.048561+00:00 app[api]: Deploy eafcacf2 by user ahmednaguib76@gmail.com
2019-10-18T18:51:34+00:00 app[api]: Build succeeded
2019-10-18T18:51:36.159392+00:00 heroku[web.1]: Starting process with command `: node server.js`

0 个答案:

没有答案