diff --git a/scripts/upgrade b/scripts/upgrade index 6f32fa8..077895d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,7 +40,7 @@ ynh_script_progression --message="Building app... (this will take some time and pushd "$install_dir" ynh_use_nodejs - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm i -g npm + ynh_exec_warn_less npm i -g npm ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production popd