From cb27c51a57369673a222e0ea6773b8061f38f477 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sun, 11 Feb 2024 12:47:12 +0100 Subject: [PATCH] =?UTF-8?q?don=E2=80=99t=20update=20nodejs=20and=20npm=20f?= =?UTF-8?q?or=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/_common.sh | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 14f779d..18046c5 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,7 +7,7 @@ # dependencies used by the app # nodejs version -nodejs_version=18 +nodejs_version=16 #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index d18f078..bb24d31 100755 --- a/scripts/install +++ b/scripts/install @@ -17,7 +17,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=10 ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version # Upgrade NPM -ynh_npm install --global npm@latest +ynh_npm install --global npm@7.21.1 #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE diff --git a/scripts/restore b/scripts/restore index 40778d5..fc373e5 100755 --- a/scripts/restore +++ b/scripts/restore @@ -18,7 +18,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=10 ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version # Upgrade NPM -ynh_npm install --global npm@latest +ynh_npm install --global npm@7.21.1 #================================================= # STANDARD RESTORATION STEPS diff --git a/scripts/upgrade b/scripts/upgrade index 88768ad..d53d656 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -17,8 +17,7 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=10 ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version # Upgrade NPM -ynh_npm install --global npm@latest - +ynh_npm install --global npm@7.21.1 #================================================= # CHECK VERSION #=================================================