Im trying to downgrade my node version so I run on terminal on mac
sudo npm cache clean -f
sudo npm install -g n
sudo n 9.10.0
then I try to check the version and it still as last version
npm -v => 5.6
node -v => v10.11.0
Im trying to downgrade my node version so I run on terminal on mac
sudo npm cache clean -f
sudo npm install -g n
sudo n 9.10.0
then I try to check the version and it still as last version
npm -v => 5.6
node -v => v10.11.0
Maybe you can use https://github.com/creationix/nvm for get several versions in your PC