node.js - nodejs安装npm install -g express老是出错
怪我咯
怪我咯 2017-04-17 14:49:24
0
1
1121

C:WINDOWSsystem32>npm install -g express
npm ERR! tar.unpack error reading C:WINDOWSsystem32express
npm ERR! addLocal Could not install C:WINDOWSsystem32express
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "express"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9

npm ERR! 0-byte tarball
npm ERR! Please run npm cache clean
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/is...

npm ERR! Please include the following file with any support request:
npm ERR! C:WINDOWSsystem32npm-debug.log

C:WINDOWSsystem32>npm install express -g
npm ERR! tar.unpack error reading C:WINDOWSsystem32express
npm ERR! addLocal Could not install C:WINDOWSsystem32express
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "express" "-g"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9

npm ERR! 0-byte tarball
npm ERR! Please run npm cache clean
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/is...

npm ERR! Please include the following file with any support request:请输入代码

怪我咯
怪我咯

走同样的路,发现不同的人生

全部回复(1)
洪涛

npm ERR! Please run npm cache clean

你有运行过吗?结果如何?运行这句再安装能不能成功?

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板