小编Dee*_*pen的帖子

Heroku安装错误

我一直在尝试让heroku在我的Mac上工作.我已经安装了Heroku-Toolbelt.但是当我在zsh控制台上运行"heroku login"时,我收到此错误:

$ heroku login
heroku-cli: Installing core plugins...
 ?    npm ERR! Darwin 15.3.0
 ?    npm ERR! argv "/Users/Deepen/.heroku/node-v5.4.1-darwin-x64/bin/node"  
"/Users/Deepen/.heroku/node-v5.4.1-darwin-x64/lib/node_modules/npm/cli.js"   
"remove" "heroku-apps" "heroku-cli-addons" "heroku-fork" "heroku-git" 
"heroku-local" "heroku-run" "heroku-spaces" "heroku-status"
 ?    npm ERR! node v5.4.1
 ?    npm ERR! npm  v3.3.10
 ?    npm ERR! code MODULE_NOT_FOUND
 ?
 ?    npm ERR! Cannot find module 'npm-autoinit/autoinit'
 ?    npm ERR!
 ?    npm ERR! If you need help, you may report this error at:
 ?    npm ERR!     <https://github.com/npm/npm/issues>
 ?    npm WARN ENOENT ENOENT: no such file …
Run Code Online (Sandbox Code Playgroud)

macos heroku node.js heroku-toolbelt

2
推荐指数
1
解决办法
1292
查看次数

标签 统计

heroku ×1

heroku-toolbelt ×1

macos ×1

node.js ×1