Use latest node 9
This commit is contained in:
parent
2ad2aa57ab
commit
74fae64f5c
|
@ -8,7 +8,7 @@ sudo apt install git ufw nginx jq -y
|
||||||
echo "Installing node.js dependencies.."
|
echo "Installing node.js dependencies.."
|
||||||
sudo apt install nodejs npm -y
|
sudo apt install nodejs npm -y
|
||||||
sudo npm install -g n
|
sudo npm install -g n
|
||||||
sudo n 9.1.0
|
sudo n 9.9.0
|
||||||
sudo npm install -g npm@latest
|
sudo npm install -g npm@latest
|
||||||
sudo npm install -g pm2 node-gyp node-pre-gyp
|
sudo npm install -g pm2 node-gyp node-pre-gyp
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue