I am using Ionic and my builds are failing. It says I need to have the latest npm and node.js. Sadly, my attempts so far from another topic and sudo apt-get update
and sudo apt-get upgrade
etc is failing to move the version of t 14.17.3 LTS
which the website says is the latest LTS
.
https://nodejs.org/en/download/
I have many setups and do not want to break others too. It would be very kind if someone can provide the right commands to update to the latest npm and nodejs LTS
.
The topics I went through has commands to specific versions and are old. Thanks.
Update 1 :
I installed nodejs 14 from Snap store. But no idea where it is now. When I use nodejs --version it shows v10.