【发布时间】:2017-10-16 03:27:15
【问题描述】:
当我尝试执行 $ heroku ps:scale web=1 时,我收到“找不到该进程类型”。我查看了一些其他解决方案,这些解决方案建议确保我的 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)
【问题讨论】:
-
我遇到了类似的错误,使用 python 部署
-
我必须添加一个 buildpack。然后我就可以推送了,并且自动添加了初始的 web 进程类型。
标签: node.js heroku deployment