From b37d64ba197f729319429d90e196ca5cb4d414ed Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sun, 19 Nov 2023 19:08:04 +0100 Subject: [PATCH] fix nodejs version --- scripts/_common.sh | 2 +- scripts/install | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index e4bb9eb..dc11ba9 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -nodejs_version=20 +nodejs_version=18 #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 57d9dcb..e6de648 100755 --- a/scripts/install +++ b/scripts/install @@ -118,7 +118,8 @@ ynh_secure_remove --file="$install_dir/build_ldap" pushd "$install_dir/live" ynh_use_nodejs - ynh_exec_warn_less $ynh_npm install -g sandboxed-module@latest + ynh_exec_warn_less $ynh_npm install -g npm@7.24.2 + ynh_exec_warn_less $ynh_npm install sandboxed-module@latest npm ci popd