我也跟着在https://devcenter.heroku.com/articles/getting-started-with-nodejs教程獲取一個節點的應用程序並在Heroku上運行福爾曼說,在web.1文件意外結束 - 但我節點應用程序有沒有web.1文件
但在運行foreman start
後,它說
$ foreman start
07:50:11 web.1 | started with pid 3041
07:50:11 web.1 | sh: -c: line 0: unexpected EOF while looking for matching `''
07:50:11 web.1 | sh: -c: line 1: syntax error: unexpected end of file
07:50:11 web.1 | exited with code 2
07:50:11 system | sending SIGTERM to all processes
SIGTERM received
$
這哪裏是web.1文件來自哪裏????
我也跑了以下內容:
$ foreman check
valid procfile detected (web)
$
感謝兄弟.....我可以確定'撇號'後從命令行執行'pwd' ....愚蠢的錯誤。 –