如何使用Node.js应用“ code = H10”修复Heroku错误?

问题描述

该应用程序正在本地和Heroku上运行,然后由于githubdependabot警告,我更新了npm软件包bl。那解决了github,但是当我将更新的应用程序推送到heroku时,我发现该应用程序现在出错了。在进行更改之前回滚Heroku应用程序的版本可以恢复该应用程序,并且现在开始运行时不会崩溃。

哪个很棒,但我想找出问题所在。除了更新npm软件包之外,我没有做任何其他更改(使用npm update,因为bl的依赖项需要更新所有npm软件包)。更新后,该应用程序在本地仍然可以正常运行。 (express正在监听来自Heroku的动态端口,如此处在另一个线程的可接受答案:First Heroku deploy failed `error code=H10`中所述)

应用:https://guarded-reef-47099.herokuapp.com/

我回滚Heroku之前的错误日志:

heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=guarded-reef-47099.herokuapp.com request_id=23926ec6-2b54-4879-a2aa-53aa5f2c1c29 fwd="******" dyno= connect= service= status=503 bytes= protocol=https
heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=guarded-reef-47099.herokuapp.com request_id=b26ea335-8808-444f-a208-5b7c789eb137 fwd="******" dyno= connect= service= status=503 bytes= protocol=https

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)