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 #=================================================