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 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
######################################################################################### #########################################################################################