Changing npm@next to npm@latest

Resolving issue with error "No matching version found for npm@next."
This commit is contained in:
Alex C 2022-12-20 11:04:26 -06:00 committed by GitHub
parent 21867f0efa
commit b484853fc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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