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