Use node LTS on latest raspian (buster)

This commit is contained in:
Matt 2019-11-17 20:57:40 -05:00 committed by GitHub
parent d06ae6e563
commit f201e50536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,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 latest sudo n lts
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