Use node LTS on latest raspian (buster)

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

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 9.9.0
sudo n lts
sudo npm install -g npm@latest
sudo npm install -g pm2 node-gyp node-pre-gyp