diff --git a/scripts/install b/scripts/install index 01599c3..c27a502 100644 --- a/scripts/install +++ b/scripts/install @@ -154,9 +154,9 @@ ynh_script_progression --message="Performing Node app installation..." --time -- chown -R $app: $final_path pushd $final_path/src - exec_as $app $nodejs_path/npm install node-gyp - exec_as $app $nodejs_path/npm install - exec_as $app $nodejs_path/npm audit fix + exec_as $app $nodejs_path/npm --loglevel=error install node-gyp + exec_as $app $nodejs_path/npm --loglevel=error install + exec_as $app $nodejs_path/npm --loglevel=error audit fix popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index c9b9c15..1d0cff3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -143,9 +143,9 @@ ynh_script_progression --message="Performing Node app installation..." --time -- chown -R $app: $final_path pushd $final_path/src - exec_as $app $nodejs_path/npm install node-gyp - exec_as $app $nodejs_path/npm install - exec_as $app $nodejs_path/npm audit fix + exec_as $app $nodejs_path/npm --loglevel=error install node-gyp + exec_as $app $nodejs_path/npm --loglevel=error install + exec_as $app $nodejs_path/npm --loglevel=error audit fix popd #=================================================