问题描述
我在使用heroku toolbelt更新时遇到问题(在Ubuntu x64上)。
无论我尝试运行heroku命令,heroku toolbelt都会尝试更新自己,并且更新总是会失败并输出:
$ heroku
heroku-cli: Installing Toolbelt v4... done
For more information on Toolbelt v4: https://github.com/heroku/heroku-cli
heroku-cli: Adding dependencies... done
heroku-cli: Installing core plugins (retrying)...
▸ Error reading plugin: heroku-pipelines
▸ exit status 1
▸ module.js:327
▸ throw err;
▸ ^
▸
▸ Error: Cannot find module 'heroku-pipelines'
▸ at Function.Module._resolveFilename (module.js:325:15)
▸ at Function.Module._load (module.js:276:25)
▸ at Module.require (module.js:353:17)
▸ at require (internal/module.js:12:17)
▸ at [eval]:2:15
▸ at Object.exports.runInThisContext (vm.js:54:17)
▸ at Object.<anonymous> ([eval]-wrapper:6:22)
▸ at Module._compile (module.js:397:26)
▸ at node.js:611:27
▸ at nextTickCallbackWith0Args (node.js:452:9)
heroku-cli: Installing core plugins (retrying)...
▸ Error reading plugin: heroku-pipelines
▸ exit status 1
▸ module.js:327
▸ throw err;
▸ ^
▸
▸ Error: Cannot find module 'heroku-pipelines'
▸ at Function.Module._resolveFilename (module.js:325:15)
▸ at Function.Module._load (module.js:276:25)
▸ at Module.require (module.js:353:17)
▸ at require (internal/module.js:12:17)
▸ at [eval]:2:15
▸ at Object.exports.runInThisContext (vm.js:54:17)
▸ at Object.<anonymous> ([eval]-wrapper:6:22)
▸ at Module._compile (module.js:397:26)
▸ at node.js:611:27
▸ at nextTickCallbackWith0Args (node.js:452:9)
! error getting commands pid 8898 exit 1
我删除了〜/.heroku,我已经删除了apt-get – 清除heroku *,但它仍然失败了。
我不熟悉node.js来了解这是什么类型的问题,或者它甚至是一个node.js问题。有没有人有线索?谢谢!
最佳解决方案
已知问题:https://status.heroku.com/incidents/851
问题
Our engineers are investigating issues with the Heroku CLI. Customers may be seeing failures referencing “Error reading plugin: heroku-pipelines”.