From defde5468f755fa71508bd88e746d55575810d9a Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 12 Jun 2024 10:01:00 +0200 Subject: [PATCH] don't install npm globally --- scripts/restore | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/restore b/scripts/restore index bb63859..860374c 100755 --- a/scripts/restore +++ b/scripts/restore @@ -74,19 +74,6 @@ chmod 750 "$data_dir" chmod -R o-rwx "$data_dir" chown -R $app:www-data "$data_dir" -#================================================= -# SPECIFIC RESTORATION -#================================================= -# REINSTALL DEPENDENCIES -#================================================= -ynh_script_progression --message="Reinstalling dependencies..." - -ynh_install_nodejs --nodejs_version=$nodejs_version -ynh_install_mongo - -# Upgrade NPM -ynh_npm install --global npm@latest - #================================================= # RESTORE THE MONGODB DATABASE #=================================================