How do I get back to old versions in nodejs by npm?

Asked

Viewed 5,067 times

-2

I need to go Node.js version 5.10.0 to be able to use firebase Hosting

2 answers

2

0

On Windows you can solve with Chocolatey Package Manager:

*Assuming you have the Chocolatey installed, follow the steps below:

  1. In CMD as administrator, type the command:

    cinst nodejs.install -version [xx.xx. x] -allow-downgrade

Make sure to change xx.xx. x by the version number you want to install.

EX: cinst nodejs.install -version 10.16.1 -allow-downgrade

  1. Close and open the CMD again or restart your computer.

Source: How to replace or return to a version of Node.js

Browser other questions tagged

You are not signed in. Login or sign up in order to post.