Home > Net >  How to install Nodejs 10.24.1 and Npm 5.6.1 in Termux Android?
How to install Nodejs 10.24.1 and Npm 5.6.1 in Termux Android?

Time:12-31

I installed Nodejs-lts on termux. It installed the latest version v16.18.1 and npm v8.19.2. I want to downgrade/install Nodejs 10.24.1 and Npm 5.6.1.

I actually cloned an open-source project from GitHub using git to run it locally. So, the project was developed with npm v5.6.0 when I ran npm install, I got an error saying "The package-lock.json file was created with an old version of npm".

CodePudding user response:

I found the solution,

Install any proot-distro step-1 to step 3.1

Then Install NVM

  • Related