How to change to an older version of Node js

0 votes
I am running Node.js version v0.5.9-pre on Ubuntu 10.10.

I would like to be using version v0.5.0-pre.

How do I roll back to the older version of node?
Nov 24, 2020 in Node-js by kartik
• 37,530 points
197 views

1 answer to this question.

0 votes

Hello,

Install specific version of node

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

Specific version : sudo n 4.4.4 instead of sudo n stable

answered Nov 24, 2020 by Niroj
• 82,820 points

Related Questions In Node-js

0 votes
1 answer

How to execute an external program from within Node.js?

Hello @kartik, Exec has memory limitation of buffer ...READ MORE

answered Jul 17, 2020 in Node-js by Niroj
• 82,820 points
1,541 views
0 votes
1 answer

How to get data out of a Node.js http get request?

Hello @kartik, Your logs return undefined : you log before ...READ MORE

answered Oct 11, 2020 in Node-js by Niroj
• 82,820 points
666 views
0 votes
1 answer

How to upgrad Node.js to latest version?

Hello, The module n makes version-management easy: sudo npm install n ...READ MORE

answered Nov 24, 2020 in Node-js by Niroj
• 82,820 points
64 views
0 votes
1 answer

How to end an express.js / node POST response?

Hello @kartik, You can use res.end and pass in a ...READ MORE

answered Nov 29, 2020 in Node-js by Niroj
• 82,820 points
443 views
0 votes
1 answer

How to set jquery input select all on focus?

Hello @kartik, Try using click instead of focus. It seems to ...READ MORE

answered Nov 24, 2020 in JQuery by Niroj
• 82,820 points
251 views
0 votes
1 answer

How to make $.post() use contentType=application/json in jquery?

Hii, Try this: $.ajax({ url:url, type:"POST", ...READ MORE

answered Nov 24, 2020 in JQuery by Niroj
• 82,820 points
981 views
0 votes
1 answer

How to add a “readonly” attribute to an <input>?

Hello, For jQuery <1.9 $('#inputId').attr('readonly', true); ...READ MORE

answered Nov 24, 2020 in JQuery by Niroj
• 82,820 points
168 views
0 votes
1 answer

How to set radio option checked onload with jQuery?

Hii, Say you had radio buttons like these, ...READ MORE

answered Nov 24, 2020 in JQuery by Niroj
• 82,820 points
601 views
0 votes
1 answer

How to find the version of an installed node.js/npm package?

Hello, npm view <package> version - returns the latest ...READ MORE

answered Nov 24, 2020 in Node-js by Niroj
• 82,820 points
910 views
0 votes
1 answer

How to create an HTTPS server in Node.js?

Hello @kartik, The minimal setup for an HTTPS ...READ MORE

answered Jul 13, 2020 in Node-js by Niroj
• 82,820 points
356 views