Merge pull request #5 from alta-labs-dev/main

Fixing npm@next error. Thank you, @alta-atc.
This commit is contained in:
Vague Rabbit 2022-12-20 09:23:31 -08:00 committed by GitHub
commit 98cff2a3e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -76,7 +76,7 @@ if [ "vOPT" = "true" ] || [ "$VERSION" != "" ]; then
sudo -u $UN git checkout $VERSION
fi
# Update npm
npm install -g npm@next
npm install -g npm@latest
wait
# Install dependancies
sudo -u $UN npm i
@ -125,4 +125,4 @@ else
fi
fi
sudo systemctl restart nginx
#########################################################################################
#########################################################################################

View file

@ -593,7 +593,7 @@ wait
# Activate the virtual environment
source $HD/env/saleor/bin/activate
# Update npm
npm install npm@next
npm install npm@latest
wait
# Make sure pip is upgraded
python3 -m pip install --upgrade pip
@ -712,4 +712,4 @@ fi
#########################################################################################
echo "I think we're done here."
echo "Test the installation."
#########################################################################################
#########################################################################################