我正在尝试在heroku中运行一个节点应用程序。Foreman在本地运行它,并将其推送到git,没有任何错误。然而,当我运行heroku ps:scale web=1时,它告诉我没有web这样的类型。我的Procfile只有这一行: web: node server.js,我认为它可以用来设置web类型。
有人知道为什么会出问题吗?您的帮助将不胜感激!
这是终端机的副本..。
jmm-2:supportEmail jamesmatheson$ foreman start
14:35:07 web.1 | started with pid 36298
14:35:08 web.1 | app is running on /removed port/
14:35:08 web.1 | database open
^CSIGINT received
14:35:09 system | sending SIGTERM to all processes
SIGTERM received
14:35:09 web.1 | exited with code 1
jmm-2:supportEmail jamesmatheson$ heroku ps:scale web=1
Scaling web dynos... failed
! No such type as web.发布于 2013-05-18 03:06:43
Specity --app APP_NAME (在我的Heroku应用程序中给出)。在这里回答了同样的问题:Heroku Web Dyno failing
https://stackoverflow.com/questions/16500524
复制相似问题