From 88a4a0c655e000316e58d67447d4569410742a11 Mon Sep 17 00:00:00 2001 From: Vivek Miglani Date: Fri, 13 Oct 2023 11:31:07 -0700 Subject: [PATCH] Add nvm insights --- scripts/build_insights.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build_insights.sh b/scripts/build_insights.sh index 4e338c6dc3..86b4a941bb 100755 --- a/scripts/build_insights.sh +++ b/scripts/build_insights.sh @@ -39,6 +39,10 @@ pushd captum/insights/attr_vis/frontend || exit echo "-----------------------------------" echo "Install Dependencies" echo "-----------------------------------" +source ~/.bashrc +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" nvm install 16.13.0 nvm use 16.13.0 yarn install