npm install
This commit is contained in:
parent
ef7a9aa39e
commit
1999bf62ab
|
@ -181,6 +181,10 @@ EOF
|
||||||
fi
|
fi
|
||||||
rm -f /root/install-nodejs.sh
|
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
|
# node seems tricky so here we're going to double check
|
||||||
# that the versions we expect did get installed
|
# that the versions we expect did get installed
|
||||||
CURR_NODE_VERSION=$(node --version)
|
CURR_NODE_VERSION=$(node --version)
|
||||||
|
|
Loading…
Reference in New Issue