Heroku错误:EISDIR:对目录进行非法操作,读取

时间:2016-06-20 10:14:28

标签: heroku heroku-toolbelt

当尝试在Heroku上执行rake或console命令时,我不断收到此错误:

Error: EISDIR: illegal operation on a directory, read    at Error (native)
    at Object.fs.readSync (fs.js:725:19)
    at tryReadSync (fs.js:480:20)
    at Object.fs.readFileSync (fs.js:528:19)
    at /Users/bashar/.local/share/heroku/cli/lib/node_modules/heroku-cli-util/lib/got.js:75:15
    at Array.map (native)
    at getCerts (/Users/bashar/.local/share/heroku/cli/lib/node_modules/heroku-cli-util/lib/got.js:72:20)
    at addToOpts (/Users/bashar/.local/share/heroku/cli/lib/node_modules/heroku-cli-util/lib/got.js:85:15)
    at got (/Users/bashar/.local/share/heroku/cli/lib/node_modules/heroku-cli-util/lib/got.js:104:27)
    at request (/Users/bashar/.local/share/heroku/cli/lib/node_modules/heroku-cli-util/lib/rollbar.js:9:10)

有什么想法吗?

0 个答案:

没有答案