From c8905d9aca93fad2eb4c7ee59cb4af1c972cafb2 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 21 May 2024 22:12:10 +0200 Subject: [PATCH] fixes --- scripts/install | 4 +++- scripts/upgrade | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 88c32ef..2b98cf0 100755 --- a/scripts/install +++ b/scripts/install @@ -132,9 +132,11 @@ cp "$install_dir/build/server-ce/config/custom-environment-variables.json" "$ins ynh_secure_remove --file="$install_dir/build" -ynh_script_progression --message="Building app..." +ynh_script_progression --message="Building app... This may take a LOT of time depending of your CPU" --weight=25 pushd "$install_dir/live" ynh_use_nodejs + ynh_exec_warn_less npm cache clean --force + ynh_exec_warn_less npm install ynh_exec_warn_less npm ci popd diff --git a/scripts/upgrade b/scripts/upgrade index 38c9358..6ac7be2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -153,7 +153,8 @@ cp "$install_dir/build/server-ce/config/custom-environment-variables.json" "$ins ynh_script_progression --message="Building app... This may take a LOT of time depending of your CPU" --weight=25 pushd "$install_dir/live" ynh_use_nodejs - ynh_exec_warn_less npm install + ynh_exec_warn_less npm cache clean --force + ynh_exec_warn_less npm install ynh_exec_warn_less npm ci popd