Installe Node 12.16.3 Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
henkb
Posts: 1
Joined: Fri May 22, 2020 8:02 pm

Installe Node 12.16.3

Post by henkb »

Hey,

I need help installing this "old" version of node. The diet-softwrare install node 14, which is not working with my apps.
I tried to install node manually, which did not change the used version.

Would be great if anybody can post the needed commands.

Thanks a lot!
User avatar
Joulinar
Posts: 2052
Joined: Sat Nov 16, 2019 12:49 am

Re: Installe Node 12.16.3

Post by Joulinar »

Hi,

many thanks for your question. What did you tied to install it manually? The following should work

Code: Select all

curl -o /tmp/node.tar.gz http://nodejs.org/dist/latest-v12.x/node-v12.16.3-linux-armv7l.tar.gz
cd /usr/local && sudo tar --strip-components 1 -xzf /tmp/node.tar.gz
rm /tmp/node.tar.gz
File name could be different depending on your device.

http://nodejs.org/dist/latest-v12.x/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
baz123
Posts: 166
Joined: Thu Jan 12, 2017 9:23 pm

Re: Installe Node 12.16.3

Post by baz123 »

Install 'n'. https://www.npmjs.com/package/n

Easy to switch between versions of node.js then.
Post Reply