From c93841cee786046e2ee1307661caae3cb9c3b787 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 12 Jun 2024 12:18:19 +0200 Subject: [PATCH] Update install --- scripts/install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 5f0983b..c2bab24 100755 --- a/scripts/install +++ b/scripts/install @@ -42,12 +42,13 @@ ynh_add_nginx_config #================================================= # BUILD APP #================================================= -ynh_script_progression --message="Building __APP__..." +ynh_script_progression --message="Building $app..." pushd $install_dir ynh_use_nodejs - ynh_npm install yarn - ynh_npm install vite + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install yarn + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install vite + ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install --network-timeout=100000