heroku - Heroku 应用程序错误,错误代码为 H10
问题描述
我创建了一个 eccomerce 应用程序,当我尝试使用 heroku 时,它给出了应用程序错误。当我运行 heroku 日志时,它会提供以下详细信息:
2021-08-17T05:03:31.462638+00:00 heroku[web.1]: Starting process with command `npm start`
2021-08-17T05:03:33.276856+00:00 app[web.1]:
2021-08-17T05:03:33.276871+00:00 app[web.1]: > ecommercia@1.0.0 start /app
2021-08-17T05:03:33.276872+00:00 app[web.1]: > node
2021-08-17T05:03:33.276872+00:00 app[web.1]:
2021-08-17T05:03:33.368932+00:00 heroku[web.1]: Process exited with status 0
2021-08-17T05:03:33.475426+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-17T05:04:20.545221+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=ecommerciashop.herokuapp.com request_id=ffde7dc6-7863-40e6-a375-572f0af5bdd9 fwd="111.119.185.46" dyno= connect= service= status=503 bytes= protocol=https
2021-08-17T05:04:21.710674+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=ecommerciashop.herokuapp.com request_id=af5164f7-674e-46d1-b2dd-8bdb1abd1c66 fwd="111.119.185.46" dyno= connect= service= status=503 bytes= protocol=https
2021-08-17T05:08:39.399909+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=ecommerciashop.herokuapp.com request_id=7a496c69-ac5f-4099-8320-d72f77ed5551 fwd="111.119.185.46" dyno= connect= service= status=503 bytes= protocol=https
2021-08-17T05:08:39.836180+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=ecommerciashop.herokuapp.com request_id=c85d540d-6e43-4ef1-826c-0f69a73ad394 fwd="111.119.185.46" dyno= connect= service= status=503 bytes= protocol=https
任何人都可以帮助诊断错误
解决方案
推荐阅读
- batch-file - 将 youtube-dl 命令输出提取到变量
- sql - Postgres 将双精度转换为文本会创建 '1.50000000000'
- html - 无法以水平方式对齐 d-flex 子元素
- google-maps-api-3 - 如何避免谷歌地图中的热图图层相互堆叠
- python - sqlalchemy 使用 sqlite 按日期分组
- javascript - 单击时如何添加特定项目innerText
- reactjs - 当第一个输入值长度为 3 时,如何专注于下一个输入?
- python - 如何访问更改的嵌套字典键?
- terraform - terraform cloud - 不存在具有给定名称的提供程序
- javascript - 如何在反应钩子中使用吐司?