-1
I’m with npm -v = 3.5.2
and node -v = v8.10.0
Operating system: ubuntu 18.04.
Can someone help me update npm and Node?
Thanks in advance, I did not succeed after several researches for update.
-1
I’m with npm -v = 3.5.2
and node -v = v8.10.0
Operating system: ubuntu 18.04.
Can someone help me update npm and Node?
Thanks in advance, I did not succeed after several researches for update.
0
I updated npm according to Isac guidance, and the Ode was solved with:
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
Thank you all. Kisses.
Browser other questions tagged node.js npm
You are not signed in. Login or sign up in order to post.
I suggest using nvm (Node version manager), the update is very quiet, without losing your old suite of packages installed from the previous version, maybe it helps you: https://answall.com/questions/388526/updater%C3%A7%C3%a3o-nodejs/388543#388543
– MarceloBoni
The npm update is quite simple, and it boils down to just
npm install -g npm@latest
– Isac
It worked for npm, thanks vivi@linux:~$ npm -v 6.13.7
– Vivi Santana
Related: How to upgrade Node.js from version 8 to 10 on Linux Ubuntu, via SSH?
– Icaro Martins