Failed to install with lts, switched back to 9.9.0

This commit is contained in:
mmcwilliams 2020-07-25 08:26:48 -04:00
parent 98937bae82
commit 5caa0d17b2
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ sudo apt install git ufw nginx jq -y
echo "Installing node.js dependencies.."
sudo apt install nodejs npm -y
sudo npm install -g n
sudo n lts
sudo n 9.9.0
sudo npm install -g npm@latest
sudo npm install -g pm2 node-gyp node-pre-gyp

View File

@ -8,7 +8,7 @@ sudo apt install git ufw nginx jq -y
echo "Installing node.js dependencies.."
sudo apt install nodejs npm -y
sudo npm install -g n
sudo n lts
sudo n 9.9.0
sudo npm install -g npm@latest
sudo npm install -g pm2 node-gyp node-pre-gyp