can't install nodejs 8 on ubuntu 19.04.
Even after using "curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -" , system install
nodejs 10.15.2
hi @thameemk612, thank you for reach out to us, as you mentioned, the normal workflow is trying to get the latest version of Node.js by default. but if you want any specific version, there is a solution in the FAQ section:
https://github.com/nodesource/distributions/issues/657
let me post a recap:
sudo apt-get purge nodejs
sudo vim /etc/apt/preferences.d/nodesource
Package: *
Pin: origin deb.nodesource.com
Pin-Priority: 600
apt-cache policy nodejs
sudo apt-get install nodejs
Please let me know if this solution works for you.
Regards,
Thanks @johnny4young , Its working
This works for me : https://hostadvice.com/how-to/how-to-install-and-configure-node-js-on-debian-9/
Most helpful comment
hi @thameemk612, thank you for reach out to us, as you mentioned, the normal workflow is trying to get the latest version of Node.js by default. but if you want any specific version, there is a solution in the FAQ section:
https://github.com/nodesource/distributions/issues/657
let me post a recap:
Please let me know if this solution works for you.
Regards,