try different nodejs install method

This commit is contained in:
Eric Vergnaud 2017-02-19 12:20:43 +08:00
parent b0f067e522
commit 5827c15183
1 changed files with 1 additions and 1 deletions

View File

@ -3,6 +3,6 @@
set -euo pipefail
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo add-apt-repository ppa:chris-lea/node.js-legacy -y
sudo apt-get update -qq
curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash -
sudo apt-get install -qq nodejs