1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gamja_ynh.git synced 2024-09-03 18:36:34 +02:00
This commit is contained in:
Éric Gaspar 2024-03-02 16:33:50 +01:00
parent d722ca6629
commit 2f82390efa
2 changed files with 4 additions and 4 deletions

View file

@ -45,8 +45,8 @@ ynh_script_progression --message="Building app... (this will take some time and
pushd "$install_dir"
ynh_use_nodejs
ynh_exec_warn_less npm i -g npm
ynh_exec_warn_less npm install --production
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm i -g npm
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production
popd
#=================================================

View file

@ -60,8 +60,8 @@ ynh_script_progression --message="Building app... (this will take some time and
pushd "$install_dir"
ynh_use_nodejs
ynh_exec_warn_less npm i -g npm
ynh_exec_warn_less npm install --production
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm i -g npm
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production
popd
#=================================================