ローカルだとうまくいくのですが,herokuへpushするとこのようなエラーが出てしまいます
motegiyuuta:new-cajino motegiyuta$ heroku logs --tail 2019-07-03T07:16:20.048515+00:00 heroku[web.1]: Stopping process with SIGKILL 2019-07-03T07:16:20.130957+00:00 heroku[web.1]: Process exited with status 137 2019-07-03T07:25:16.415492+00:00 heroku[web.1]: State changed from crashed to starting 2019-07-03T07:25:19.314070+00:00 heroku[web.1]: Starting process with command `npm start` 2019-07-03T07:25:21.363089+00:00 app[web.1]: 2019-07-03T07:25:21.363116+00:00 app[web.1]: > kkk@1.0.0 start /app 2019-07-03T07:25:21.363118+00:00 app[web.1]: > node server.js 2019-07-03T07:25:21.363120+00:00 app[web.1]: 2019-07-03T07:25:21.924750+00:00 app[web.1]: Bot server start! 2019-07-03T07:26:20.085353+00:00 heroku[web.1]: State changed from starting to crashed 2019-07-03T07:26:19.903193+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch 2019-07-03T07:26:19.903329+00:00 heroku[web.1]: Stopping process with SIGKILL 2019-07-03T07:26:20.064500+00:00 heroku[web.1]: Process exited with status 137 2019-07-03T07:31:53.549676+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=c ajino.herokuapp.com request_id=f03ca0df-dde3-4c0c-bc3c-2f3b7e861747 fwd="182.158.70.171" dyno= connect= service= status=503 bytes= protocol=https 2019-07-03T07:31:54.277079+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon. ico" host=cajino.herokuapp.com request_id=467300f1-21c0-45c8-8db5-019b96d48493 fwd="182.158.70.171" dyno= connec t= service= status=503 bytes= protocol=https
助けてください...
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。