do not try to install any npm packages globally as root

This commit is contained in:
Cyryl Płotnicki 2019-01-20 14:46:09 +00:00
parent dfb132b901
commit 6c370c8b30

View file

@ -195,9 +195,10 @@ if [[ -z $NO_GO ]]; then
go get -u github.com/exercism/cli/exercism
fi
$SUDO npm install -g reveal-md
$SUDO npm install -g diff-so-fancy
$SUDO npm install -g cssnano
nvm use node
npm install -g reveal-md
npm install -g diff-so-fancy
npm install -g cssnano
if [[ -z $NOPYTHON3 ]]; then
set +e