Guest User

Untitled

a guest
Jul 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. NPM fails to update under NVM due to symlink
  2. -----
  3. Go to nodejs install directory, go into `node_modules` and move folder `npm` to different location. Go in the `bin` folder inside the new `npm` location and set it as your working directory. Run `node npm-cli.js i -g npm@latest` and it will update the install in the correct location. After install, delete the temporary `npm` folder and you're finished.
Add Comment
Please, Sign In to add comment