diff --git a/scripts/build_static.sh b/scripts/build_static.sh index f74f601..5085fe9 100644 --- a/scripts/build_static.sh +++ b/scripts/build_static.sh @@ -1,6 +1,8 @@ # installs nvm (Node Version Manager) curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash -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" # This loads nvm bash_completion # download and install Node.js (you may need to restart the terminal) nvm install 22