npm升級失敗報了如下錯誤$ npm install -g npmnpm ERR! path C:\Program Files\nodejs\npm.cmdnpm ERR! code EEXISTnpm ERR! Refusing to delete C:\Program Files\nodejs\npm.cmd: is outside C:\Program Files\nodejs\node_modules\npm and not a linknpm ERR! File exists: C:\Program Files\nodejs\npm.cmdnpm ERR! Move it away, and try again.npm ERR! A complete log of this run can be found in:npm ERR! C:\Users\DELL\AppData\Roaming\npm-cache\_logs\2019-02-25T07_12_33_976Z-debug.logwindows10下安裝的nvm1.1.7版本//安裝了node10.12.0版本 對應的npm是6.4.1
nvm install 10.12.0 nvm list* 10.12.0 (Currently using 64-bit executable)
npm -v6.4.1不知道是哪里的問題導致升級失敗的,然后要怎么解決才能成功呢,nvm重新卸載又安裝了還是不行,npm install別的安裝包沒有問題。。
npm install -g npm升級失敗
SMILET
2019-03-11 20:35:45