찾다

 >  Q&A  >  본문

node.js - nodejs安装npm install -g express老是出错

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:请输入代码

怪我咯怪我咯2784일 전1123

모든 응답(1)나는 대답할 것이다

  • PHP中文网

    PHP中文网2017-04-17 14:51:24

    npm ERR! Please run npm cache clean

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

    회신하다
    0
  • 취소회신하다