From 7fa6303fec429b7be3a374a9d85bdc0e479cfb97 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 8 Nov 2021 23:48:40 +0100 Subject: [PATCH] Downgrade NodeJS req and do not force npm audit fix --- scripts/_common.sh | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 28d89ae..01dc4fc 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -nodejs_version=16 +nodejs_version=14 # dependencies used by the app pkg_dependencies="g++" diff --git a/scripts/install b/scripts/install index cc1a81c..f3af27e 100644 --- a/scripts/install +++ b/scripts/install @@ -113,7 +113,7 @@ pushd $final_path/src ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install node-gyp ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install argon2-cli ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm audit fix --force + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm audit fix popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 79ae1bb..a9990c6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -142,7 +142,7 @@ pushd $final_path/src ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm install node-gyp ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm install argon2-cli ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm install - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm audit fix --force + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm audit fix popd #=================================================