From 6c370c8b30fc1cad61ce3c8f4bdf222781c8226b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 20 Jan 2019 14:46:09 +0000 Subject: [PATCH] do not try to install any npm packages globally as root --- common/configure_fresh_system.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common/configure_fresh_system.sh b/common/configure_fresh_system.sh index d61d3737..e5271f93 100755 --- a/common/configure_fresh_system.sh +++ b/common/configure_fresh_system.sh @@ -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