I am trying to update npm itself:
npm uninstall npm -g
Responds with:
unbuild [email protected]
But when I go:
npm --version
I get 1.4.28? How to upgrade the npm itself?
To upgrade nvm-windows, run the new installer. It will safely overwrite the files it needs to update without touching your node.
By using this command you can update npm to the latest release by using npm itself :
npm i -g npm@latest
You can try this:
cd /usr/lib/node_modules
npm install npm@latest
Edit:
npm install -g npm
worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With