I did as per the solution given in How can I update my nodeJS to the latest version?
But when I check nodejs --version
I get v8.10.0
And when I install using this command sudo n latest
I get installed : v13.8.0 (with npm 6.13.6)
I have the same version problems with node and npm too, the latest verion installed is not reflected.
whereis nodejs I am getting this output: nodejs: /usr/bin/nodejs /usr/lib/nodejs /usr/share/man/man1/nodejs.1.gz
I tried uninstalling nodejs and installing again the same thing happens. Is this a problem with ubuntu?
whereis nodejs– cmak.fr Feb 18 '20 at 05:38curl -sLhttps://deb.nodesource.com/setup_13.x | sudo -E bash -sudo apt-get install -y nodejssolved my issue`Now i have nodejs version as
– Faiz Hameed Feb 18 '20 at 12:028.10.0while node version as13.8.0thats ok right?