From 247f25a90a3e70bc3ae2ac901874aa9bc10ac3c9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 4 Jan 2022 11:10:42 +0100 Subject: [PATCH] Update install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 952e92d..88a79b4 100644 --- a/scripts/install +++ b/scripts/install @@ -126,9 +126,9 @@ ynh_script_progression --message="Installing The Lounge..." --weight=10 pushd $final_path ynh_use_nodejs - NODE_ENV=production ynh_exec_warn_less yarn install - NODE_ENV=production yarn add webpack webpack-cli --dev - NODE_ENV=production ynh_exec_warn_less yarn build + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn link popd #=================================================