Merge pull request #5 from alta-labs-dev/main
Fixing npm@next error. Thank you, @alta-atc.
This commit is contained in:
commit
98cff2a3e8
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
#########################################################################################
|
||||
#########################################################################################
|
||||
|
|
|
@ -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."
|
||||
#########################################################################################
|
||||
#########################################################################################
|
||||
|
|
Loading…
Reference in a new issue