当我进行npm安装时,我得到了foll
node_modules \wdpr-grunt-tasks\node_modules\karma\node_modules\socket.io\node_modules\socket. io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-valid ate>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_ modules\node-gyp\bin\node-gyp.js" rebuild
npm WARN optional dep failed, continuing utf-8-validate@1.2.1
npm ERR! EEXIST, npm-cache\56f3dfab--cac he-lodash-3-10-1-package-tgz.lock'
File exists: 56f3dfab--cache-lodash- 3-10-1-package-tgz.lock
Move it away, and try again.
npm ERR! System Windows_NT 6.1.7601
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! path ... -3-10-1-package-tgz.lock
npm ERR! code EEXIST
npm ERR! errno 47
如何解决此问题?
答案 0 :(得分:-1)
您可以尝试使用以下命令清理npm缓存:
npm cache clean
为确保您可以删除node_modules
文件夹并重新安装所有模块。