npm install

This commit is contained in:
Bob Mottram 2017-04-02 13:55:14 +01:00
parent ef7a9aa39e
commit 1999bf62ab
1 changed files with 4 additions and 0 deletions

View File

@ -181,6 +181,10 @@ EOF
fi
rm -f /root/install-nodejs.sh
# second npm install attempt seems necessary
npm install -g npm@${NPM_VERSION} --save
cp /usr/local/bin/npm /usr/bin/npm
# node seems tricky so here we're going to double check
# that the versions we expect did get installed
CURR_NODE_VERSION=$(node --version)