1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/luckysheet_ynh.git synced 2024-09-03 19:36:21 +02:00

run npm install gulp as root

This commit is contained in:
Salamandar 2024-01-17 10:24:06 +01:00
parent f5a0a9b79b
commit a2204c3ddd
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ ynh_script_progression --message="Building app... (this will take some time and
pushd "$install_dir/source" pushd "$install_dir/source"
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install gulp -g ynh_exec_warn_less "$ynh_node_load_PATH" "$ynh_npm" install gulp -g
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" run build ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" run build
popd popd

View file

@ -57,7 +57,7 @@ ynh_script_progression --message="Building app... (this will take some time and
pushd "$install_dir/build" pushd "$install_dir/build"
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install gulp -g ynh_exec_warn_less "$ynh_node_load_PATH" "$ynh_npm" install gulp -g
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" run build ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" run build
popd popd