This commit is contained in:
qo-op 2020-05-13 23:27:59 +02:00
commit 3e252acd40
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ fi
if [[ ! $(which oasis) ]]; then
echo "INSTALL...."
# Install nvm
if [[ ! $(which node) ]]; then
if [[ ! $(which node) || ! $(which npm) ]]; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
source ~/.bashrc
export NVM_DIR="$HOME/.nvm"