From 3ec7b33160cd8020b0a97bd300aa77f0887e4ea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 20 Jan 2019 13:23:31 +0000 Subject: [PATCH] ignore initial nvm problems --- common/configure_fresh_system.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/configure_fresh_system.sh b/common/configure_fresh_system.sh index ecdbef31..5265b163 100755 --- a/common/configure_fresh_system.sh +++ b/common/configure_fresh_system.sh @@ -73,7 +73,11 @@ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | b echo "sourcing env" source ~/.setenv +echo "using NVM" +set +e \. "$NVM_DIR/nvm.sh" +set -e +nvm install node nvm use node # tools