Heroku Foreman说web.1文件中出现意外的EOF-但我的节点应用程序没有web.1文件

Heroku Foreman说web.1文件中出现意外的EOF-但我的节点应用程序没有web.1文件,heroku,foreman,heroku-toolbelt,Heroku,Foreman,Heroku Toolbelt,我按照上的教程,在heroku中启动并运行了一个节点应用程序 但是在运行之后,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

我按照上的教程,在heroku中启动并运行了一个节点应用程序

但是在运行
之后,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)
$

它并不是说web.1文件存在,而是一条关于
web
过程的消息,它是从您的Procfile中读取的。您的程序文件应类似于:


web:node app.js

它并不是说web.1文件存在,而是一条关于
web
进程的消息,它是从您的文件中读取的。您的程序文件应类似于:


web:node app.js

我刚才在这里回答了这个问题。 基本上,文件路径中不能有任何撇号。(实际上,您必须重命名文件夹,使其不包含撇号。)这是foreman中的一个错误。
不过,我要感谢你回复了我的两封邮件我需要获得超过50的声誉,这样我才能开始发表评论

我刚才在这里回答了这个问题。 基本上,文件路径中不能有任何撇号。(实际上,您必须重命名文件夹,使其不包含撇号。)这是foreman中的一个错误。
不过,我要感谢你回复了我的两封邮件我需要获得超过50的声誉,这样我才能开始发表评论

我的Procfile包含
web:node web.js
我的Procfile包含
web:node web.js
谢谢兄弟。。。。。在从命令行执行
pwd
之后,我可以识别“撇号”。。。。愚蠢的虫子。谢谢兄弟。。。。。在从命令行执行
pwd
之后,我可以识别“撇号”。。。。愚蠢的虫子。