2
I tried several tutorials on the internet before coming to post the doubt here on Stackoverflow and no tips worked. My repository is with version 8 of Node and the same, even removing, back.
I need to install Node 10.
I’ve tried to:
sudo apt-get purge nodejs
sudo apt-get purge --auto-remove nodejs
udo apt-get purge nodejs
sudo apt-get autoremove
And remove. And when I use the Digitalocean tutorial that says:
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
And then:
sudo apt install nodejs
Reinstall version 8 and not 10 on Node.
What am I doing wrong?
Good afternoon, unfortunately I use centos in digitalOcean, but I had no problems to remove and install nodejs, check on Repositório Oficial nodesource If something does not help, it has step by step step for manual installation of nodejs in any version in any linux distro with nodesource support.
– Chance
Reading the official repository, in the Manual installation section, says that it is necessary to remove the old PPA and then add the new one, with the new version of Node.
– Chance