From 9a93c5cc92fd8c21c9d9a39370cd606886b9ad9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 24 Jan 2023 17:29:53 +0100 Subject: [PATCH] Update install --- scripts/install | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index b98e1c7..e3c5956 100755 --- a/scripts/install +++ b/scripts/install @@ -100,12 +100,9 @@ ynh_script_progression --message="Configuring the app..." --weight=10 pushd $final_path ynh_use_nodejs - #ynh_exec_warn_less npm install -g npm@latest serve - #ynh_exec_warn_less npm install - #ynh_exec_warn_less npm run build - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install -g npm@latest serve - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm run build + ynh_exec_warn_less $ynh_npm install -g npm@latest serve + ynh_exec_warn_less $ynh_npm install + ynh_exec_warn_less $ynh_npm run build popd #=================================================