应用程序崩溃了Heroku,H10没有此类文件或目录

时间:2019-09-01 20:55:16

标签: heroku heroku-cli

我第一次在heroku中添加了一个Web应用程序,但未打开,尝试运行它时出现错误日志

我相信当我放置应用程序目录名称时会迷路,因为它具有不同的名称,在我的本地存储库中是:/ emojiphrases示例在Github中是:/ emojiphrases在Heroku中,应用程序名称是:/ emojiphrases-ramat

我的Procfile看起来像这样: 网址:./ build / install / emojiphrases-ramat / bin / emojiphrases-ramat

必须发生什么?我必须为我的应用程序在Heroku上运行指定正确的路径是什么?

2019-09-01T20:38:24.000000+00:00 app[api]: Build started by user eduardo.rmb@outlook.com
2019-09-01T20:39:07.612172+00:00 heroku[web.1]: State changed from crashed to starting
2019-09-01T20:39:07.206405+00:00 app[api]: Deploy 1f7e5ed5 by user eduardo.rmb@outlook.com
2019-09-01T20:39:07.206405+00:00 app[api]: Release v12 created by user eduardo.rmb@outlook.com
2019-09-01T20:39:10.639149+00:00 heroku[web.1]: Starting process with command `./build/install/emojiphrasesExample/bin/emojiphrasesExample`
2019-09-01T20:39:12.568402+00:00 heroku[web.1]: State changed from starting to crashed
2019-09-01T20:39:12.549305+00:00 heroku[web.1]: Process exited with status 127
2019-09-01T20:39:12.498012+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2019-09-01T20:39:12.501913+00:00 app[web.1]: bash: ./build/install/emojiphrasesExample/bin/emojiphrasesExample: No such file or directory
2019-09-01T20:39:30.000000+00:00 app[api]: Build succeeded
2019-09-01T20:39:44.662468+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=emojiphrases-ramat.herokuapp.com request_id=bfed75c7-7464-4d88-9ff3-fdf48832cdb1 fwd="191.17.34.81" dyno= connect= service= status=503 bytes= protocol=https
2019-09-01T20:39:44.909378+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=emojiphrases-ramat.herokuapp.com request_id=fc66d482-9423-427b-b23d-510747e4c5a9 fwd="191.17.34.81" dyno= connect= service= status=503 bytes= protocol=https

0 个答案:

没有答案