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 +######################################################################################### diff --git a/deploy.sh b/deploy.sh index 294f729..62b7432 100644 --- a/deploy.sh +++ b/deploy.sh @@ -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." -######################################################################################### \ No newline at end of file +#########################################################################################