我正在使用通过heroku-cli进行部署的gatsby 2.0.76。该应用似乎可以很好地部署,并在命令行中显示以下消息:
remote: Verifying deploy... done.
但是然后它没有加载,我得到了heroku应用程序错误页面:
在命令行中运行heroku logs --tail
时出现此错误:
2019-06-19T17:46:15.443142+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=sheltered-journey-44127.herokuapp.com request_id=93bfbe03-0fdc-48dd-a5f5-6dea99d03ba4 fwd="73.155.178.206" dyno= connect= service= status=503 bytes= protocol=https
2019-06-19T17:46:28.338200+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2019-06-19T17:46:28.338200+00:00 heroku[web.1]: Stopping process with SIGKILL
2019-06-19T17:46:28.459853+00:00 heroku[web.1]: State changed from starting to crashed
2019-06-19T17:46:28.430750+00:00 heroku[web.1]: Process exited with status 137
我确实希望这只是一个普遍的问题,因为这是stackoverflow,但是如果您想复制该问题以了解问题所在,它只是在my personal, open source portfolio上。