Use node LTS on latest raspian (buster)
This commit is contained in:
parent
f201e50536
commit
defa0afe7f
|
@ -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 9.9.0
|
||||
sudo n lts
|
||||
sudo npm install -g npm@latest
|
||||
sudo npm install -g pm2 node-gyp node-pre-gyp
|
||||
|
||||
|
|
Loading…
Reference in New Issue