diff --git a/scripts/bootstrap b/scripts/bootstrap index 3c6fb1630..993a6dfd5 100755 --- a/scripts/bootstrap +++ b/scripts/bootstrap @@ -9,8 +9,8 @@ else cd `dirname $CWD` fi -apt-get update -apt-get install -y npm phantomjs +curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - +apt-get install -y nodejs phantomjs update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10 npm set cache /var/cache/npm