From a9d08610a84f827346bcdb2a71494183b27b067e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 1 Jan 2024 23:13:52 +0100 Subject: [PATCH] Update install --- scripts/install | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index c2acfad..66eb2dc 100644 --- a/scripts/install +++ b/scripts/install @@ -49,8 +49,11 @@ ynh_script_progression --message="Building EtherCalc... (this will take some tim pushd "$install_dir" ynh_use_nodejs - ynh_exec_warn_less npm i -g ethercalc - ynh_exec_warn_less npm i zappajs + ynh_secure_remove --file="$install_dir/package-lock.json" + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install -g ethercalc + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install zappajs + #ynh_exec_warn_less npm i -g ethercalc + #ynh_exec_warn_less npm i zappajs popd #=================================================