Failed to install with lts, switched back to 9.9.0
This commit is contained in:
parent
98937bae82
commit
5caa0d17b2
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue