Egg.js 在 Heroku 上的 process exited with status 0 问题的解决方案
发布于 5 年前 作者 bestony 2664 次浏览 来自 问答

问题描述

我直接使用 egg-init egg-example --type=simple 创建的项目,在 Heroku 上运行会 crash 掉。 之前纠结是不是自己写的代码的问题,但是跑了 example 也还是挂掉。

更新

问题已解决,需要删除package.jsonstart 命令的 --deamon

参考文章

https://blog.sundaycoding.com/blog/2015/11/05/heroku-process-exited-with-status-0/

回到顶部