win7 64位安装yeoman报错
在安装yeoman,出现以下错误,小白一个,求大神指导,查了资料但是我的问题没有解决,求大神看一下问题
$ npm install -g yo
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
C:\Users\sxm\AppData\Roaming\npm\yo-complete -> C:\Users\sxm\AppData\Roaming\npm\node_modules\yo\lib\completion\index.js
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\sxm\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "yo"
npm ERR! node v6.4.0
npm ERR! npm v3.10.6
npm ERR! path C:\Users\sxm\AppData\Roaming\npm\yo
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall open
npm ERR! Error: EPERM: operation not permitted, open 'C:\Users\sxm\AppData\Roaming\npm\yo'
npm ERR! at Error (native)
npm ERR! { Error: EPERM: operation not permitted, open 'C:\Users\sxm\AppData\Roaming\npm\yo'
npm ERR! at Error (native)
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'open',
npm ERR! path: 'C:\\Users\\sxm\\AppData\\Roaming\\npm\\yo' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! D:\workspace\npm-debug.log
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
window系统好多奇怪的问题,安装linux系统基本没毛病