简体   繁体   中英

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

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" .

I installed Nodejs- lts on teermux. It installed 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 a 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 errors saying "The package-lock.json file was created with an old version of npm"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM