npm install 出错

来源:互联网 发布:在线ps网站源码 编辑:程序博客网 时间:2024/05/17 15:38

npm安装模块出错如下


npm ERR! argv "d:\\nodejs\\node.exe" "d:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"

npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! shasum check failed for C:\Users\silence\AppData\Local\Temp\npm-39868-f8554382\registry.npmjs.org\requirejs\-\requirejs-2.1.22.tgz
npm ERR! Expected: dd78fd2d34180c0d62c724b5b8aebc0664e0366f
npm ERR! Actual:   506d2f84cfba44f33e8e13f92627b8ef099da890
npm ERR! From:     https://registry.npmjs.org/requirejs/-/requirejs-2.1.22.tgz
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!     g:\github\test\npm-debug.log


以管理员权限执行就可以了,window下win+R命令窗口是没有权限的

1 0
原创粉丝点击