2015-09-16 75 views
1

我只有在调度程序中使用了节点应用程序。但是Heroku的不断试图调用NPM在开始在heroku上部署非web节点应用程序

State changed from starting to crashed 
Process exited with status 1 
State changed from crashed to starting 
Starting process with command `npm start` 

即使在Procfile虚拟工人:

worker: echo 1 

总有一个网络过程中添加的部署:

Default types for Node.js -> web 

任何关于如何摆脱heroku不断尝试npm开始的想法?

回答

2

不是一个真正的直接的解决方案,但你可以很容易地缩小你的web程序为0

heroku ps:scale web=0