'找不到那个进程types'的heroku节点部署

当我尝试执行$ heroku ps:scale web=1时,我得到'找不到该进程types'。 我看了一些其他解决scheme,build议确保我的Procfile拼写正确,推送正确,这是。

这是我得到的确切的错误:

  heroku ps:scale web=1 Scaling dynos... ! ▸ Couldn't find that process type. Error: ENOENT: no such file or directory, open '/Users/XXXXXX/.cache/heroku/error.log' at Object.fs.openSync (fs.js:584:18) at Object.fs.writeFileSync (fs.js:1316:33) at Object.fs.appendFileSync (fs.js:1362:6) at log (/usr/local/Cellar/heroku/6.6.7/libexec/node_modules/heroku-cli-util/lib/errors.js:87:6) at handleErr (/usr/local/Cellar/heroku/6.6.7/libexec/node_modules/heroku-cli-util/lib/errors.js:102:9) at process._tickCallback (internal/process/next_tick.js:109:7) 

我发现问题出在什么地方,在我的项目中,我没有推到master分支,而是在执行错误的git代码。 因此,如果您正在另一个分支上工作,正确的方式推送到Heroku如下:

 git push heroku <branch_name>:master