在Heroku上部署应用(Nodejs + sqlite3)时出错。

问题描述 投票:0回答:1

我试图在Heroku上部署我的应用程序(Node.js),该应用程序使用sqlite3数据库,部署已经完成,但在运行该应用程序时,我得到以下错误。

  • 2020-04-23T10:07:50.747074+00:00 app[web.1]: App started on port 5000
  • 2020-04-23T10:07:50.748081+00:00 app[web.1]: 连接到SQLite数据库。
  • 2020-04-23T10:07:50.748081+00:00 app[web.1]: 连接到SQLite数据库。
  • 2020-04-23T10:08:48.280947+00:00 heroku[web.1]: 状态从开始变为崩溃
  • 2020-04-23T10:08:52.004314+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="" host=backendthemesdemo. herokuapp.com request_id=470f5cfb-58e4-4ab0-b666-14880d5c31a8 fwd="43.241.194.49" dyno= connect= service= status=503 bytes= protocol=https
  • 2020-04-23T10:08:53.642688+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="favicon.ico" host=backendthemesdemo. herokuapp.com request_id=f2d12092-9809-463b-89c1-eb5fcd8b267f fwd="43.241.194.49" dyno= connect= service= status=503 bytes= protocol=https。
  • 2020-04-23T10:30:38.831607+00:00 heroku[web.1]: 状态从崩溃变为开始
node.js sqlite heroku deployment error-handling
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.