You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npm install -g npm
npm ERR! code EEXIST
npm ERR! path C:\<pathToNode>\npm.cmd
npm ERR! Refusing to delete C:\<pathToNode>\npm.cmd: is outside C:\<pathToNode>\node_modules\npm and not a link
npm ERR! File exists: C:\<pathToNode>\npm.cmd
npm ERR! Remove the existing file and try again, or run npm
If I remove all 4 files that were complained about, I finally got "npm not found"...
Running
If I remove all 4 files that were complained about, I finally got "npm not found"...
I don't think you were supposed to delete those. I would probably uninstall and reinstall at this point if I were you. For Windows, I have been using nvs to manage Node.js versions, which includes npm. Might want to give that a go.
Node 12 shipped with npm 6.14.4, but this npm version have bug. Users ask update npm version shipped with Node 12.
What is the expected behavior?
npm version 6.14.5 shipped with Node 12
What do you see instead?
npm version 6.14.4 shipped with Node 12
The text was updated successfully, but these errors were encountered: