From 3a024af9ce00670160cb0cd101fde229ee57d366 Mon Sep 17 00:00:00 2001 From: Pablo Moreno Date: Thu, 5 Dec 2024 14:04:52 +0100 Subject: [PATCH] fix: build static --- scripts/build_static.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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