npm 使用出问题
npm WARN using --force I sure hope you know what you are doing.
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/5.4.1_1/bin/node" "/usr/local/lib/node_modules/npm/cli.js" "rm" "npm" "-g" "-f"
npm ERR! node v5.4.1
npm ERR! npm v2.14.12
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 uninstall not installed in /usr/local/Cellar/node/5.4.1_1/lib/node_modules: "npm"
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/5.4.1_1/bin/node" "/usr/local/lib/node_modules/npm/cli.js" "rm" "npm" "-g" "-f"
npm ERR! node v5.4.1
npm ERR! npm v2.14.12
npm ERR! Callback called more than once.
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/lib/node_modules/npm/npm-debug.log
make: * [uninstall] Error 1
各位帮忙看看这是什么问题,Mac上 我重装npm 结果还是存在这个问题,我现在在研究RN 开发 ,结果一直卡在这块了
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
缺少依赖模块,尝试补充安装下
查看下
usr/local/lib/node_modules/npm/npm-debug.log
还有如果你全局安装的话需要加上
sudo