Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 153 Vote(s) - 3.54 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change to an older version of Node.js

#1
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?
Reply

#2
Another good library for managing multiple versions of Node is N:

[To see links please register here]

Reply

#3
For some reason Brew installs node 5 into a separate directory called node5.

The steps I took to get back to version 5 were: (You will need to look up standard brew installation/uninstallation, but otherwise this process is more straightforward than it looks.)

1. Install node5 using Brew standard installation, BUT don't brew link, yet.
2. Uninstall all other versions of node using brew unlink node and brew uninstall node. You might need to use --force to remove one of the versions.
3. Find the cellar folder on your computer
4. Delete the node folder in the cellar.
5. Rename the node5 folder to node.
6. Then, brew link node

You should be all set with node 5.
Reply

#4
# Windows

### Downgrade Node with Chocolately

[Install Chocolatey.][1] Then run:

choco install nodejs.install -version 6.3.0

Chocolatey has [lots of Node versions available][2].

### Downgrade NPM

npm install -g [email protected]

[1]:

[To see links please register here]

[2]:

[To see links please register here]

[3]:
Reply

#5
I had node version 6.4.0 .

As i am need of the older version 6.3.0 , i just installed the 6.3.0 version again in my system. node version downgraded automatically.

So, to downgrade the node version ,
Just install the older version of node js . It will get downgraded automatically from the higher version.

I tried in osx . It works like a charm .
Reply

#6
nvmw is no longer maintained, but I found another source that seems to be up to date (as of 1/4/17).

[nvm-windows][1]


[1]:

[To see links please register here]


It works. Allowed me to downgrade to 6.3.1

Reply

#7
On windows 7 I used the general 'Uninstall Node.js' (just started typing in the search bottom left ,main menu field) followed by clicking the link to the older version which complies with the project, for instance:
Windows 64-bit Installer:

[To see links please register here]

Reply

#8
run this:

rm -rf node_modules && npm cache clear && npm install

Node will install from whatever is cached. So if you clear everything out first, then NPM use 0.10.xx, it will revert properly.
Reply

#9
Why use any extension when you can do this without extension :)

**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`
Reply

#10
One way is to use NVM, the Node Version Manager.

Use following command to get nvm

curl -o-

[To see links please register here]

| bash

You can find it at

[To see links please register here]


It allows you to easily install and manage multiple versions of node. Here's a snippet from the help:

Usage:
nvm install <version> Download and install a <version>
nvm use <version> Modify PATH to use <version>
nvm ls List versions (installed versions are blue)

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through