do not try to install any npm packages globally as root
This commit is contained in:
parent
dfb132b901
commit
6c370c8b30
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue