nodejs:npm install命令显示错误

我已经安装node.js在Windows中,我给了npm install命令,它显示以下错误。 我设置了环境variables。

我也给npm cache clear

错误

 npm WARN retry will retry, error on last attempt: Error: EBUSY: resource busy or locked, rename 'C:\Users\RAMYAG~1\AppData\Local\Temp\npm-704-3e1504c0\registry. npmjs.org\get-pkg\-\get-pkg-0.3.0.tgz.3764799858' -> 'C:\Users\RAMYAG~1\AppData\ Local\Temp\npm-704-3e1504c0\registry.npmjs.org\get-pkg\-\get-pkg-0.3.0.tgz' npm ERR! Windows_NT 6.1.7600 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\ node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! node v6.9.1 npm ERR! npm v3.10.8 npm ERR! tarball.destroy is not a function npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm WARN retry will retry, error on last attempt: Error: EBUSY: resource busy or locked, rename 'C:\Users\RAMYAG~1\AppData\Local\Temp\npm-704-3e1504c0\registry. npmjs.org\date-store\-\date-store-0.1.2.tgz.1345740487' -> 'C:\Users\RAMYAG~1\Ap pData\Local\Temp\npm-704-3e1504c0\registry.npmjs.org\date-store\-\date-store-0.1 .2.tgz' npm ERR! Windows_NT 6.1.7600 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\ node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! node v6.9.1 npm ERR! npm v3.10.8 

请帮忙解决这个问题。

谢谢,卡迈勒

       

网上收集的解决方案 "nodejs:npm install命令显示错误"