2013-05-11 25 views
1

我試圖在heroku中運行節點應用程序。工頭努力在本地運行它,並且它沒有任何錯誤地推動git。但是,當我運行heroku ps:scale web=1時,它說沒有像web這樣的類型。我的Procfile只是這一行:web:node server.js,我認爲它應該設置Web類型。heroku中的節點應用程序在本地運行,但我無法縮放動態碼

有誰知道爲什麼這可能會出錯?您的幫助將不勝感激!

這裏是終端的副本...

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. 
+0

這可能會幫助你:http://stackoverflow.com/questions/13323633/error-procfile-does-not-exist-and-problems-starting-web-processes – JAM 2013-05-11 19:20:51

回答

相關問題