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
|
sudo -u $UN git checkout $VERSION
|
||||||
fi
|
fi
|
||||||
# Update npm
|
# Update npm
|
||||||
npm install -g npm@next
|
npm install -g npm@latest
|
||||||
wait
|
wait
|
||||||
# Install dependancies
|
# Install dependancies
|
||||||
sudo -u $UN npm i
|
sudo -u $UN npm i
|
||||||
|
@ -125,4 +125,4 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
sudo systemctl restart nginx
|
sudo systemctl restart nginx
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
|
|
|
@ -593,7 +593,7 @@ wait
|
||||||
# Activate the virtual environment
|
# Activate the virtual environment
|
||||||
source $HD/env/saleor/bin/activate
|
source $HD/env/saleor/bin/activate
|
||||||
# Update npm
|
# Update npm
|
||||||
npm install npm@next
|
npm install npm@latest
|
||||||
wait
|
wait
|
||||||
# Make sure pip is upgraded
|
# Make sure pip is upgraded
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
|
@ -712,4 +712,4 @@ fi
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
echo "I think we're done here."
|
echo "I think we're done here."
|
||||||
echo "Test the installation."
|
echo "Test the installation."
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
|
|
Loading…
Reference in a new issue