From b484853fc5e2a0391aeae685d59a70764e20e13e Mon Sep 17 00:00:00 2001 From: Alex C <102269444+alta-atc@users.noreply.github.com> Date: Tue, 20 Dec 2022 11:04:26 -0600 Subject: [PATCH] Changing npm@next to npm@latest Resolving issue with error "No matching version found for npm@next." --- deploy-dashboard.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy-dashboard.sh b/deploy-dashboard.sh index 0023c13..15fd5eb 100644 --- a/deploy-dashboard.sh +++ b/deploy-dashboard.sh @@ -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 -######################################################################################### \ No newline at end of file +#########################################################################################