How do I go back to old versions of nodejs by npm?

-1

I need to go Node.js version 5.10.0 in order to use Firebase Hosting

    
asked by anonymous 12.01.2018 / 16:05

1 answer

1

Enough

sudo npm cache clean -f
sudo npm install -g n
sudo n x.x.x

Where x.x.x is the version you want

Source: link

    
12.01.2018 / 16:08