mirror of
https://github.com/YunoHost-Apps/zwave-js-ui_ynh.git
synced 2024-09-03 18:06:00 +02:00
increase network time out
This commit is contained in:
parent
26646bc22a
commit
289eff87b7
2 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ ynh_script_progression --message="Building from sources..." --weight=1
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
ynh_script_progression --message="Fetching Yarn dependencies... This can be very long, be patient !" --weight=40
|
ynh_script_progression --message="Fetching Yarn dependencies... This can be very long, be patient !" --weight=40
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --network-timeout 1000000000
|
||||||
ynh_script_progression --message="Cleaning cache... " --weight=3
|
ynh_script_progression --message="Cleaning cache... " --weight=3
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean 2>&1
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean 2>&1
|
||||||
ynh_script_progression --message="Building Yarn dependencies... This can be very long, be patient !" --weight=30
|
ynh_script_progression --message="Building Yarn dependencies... This can be very long, be patient !" --weight=30
|
||||||
|
|
|
@ -92,7 +92,7 @@ then
|
||||||
ynh_script_progression --message="Building from sources..." --weight=15
|
ynh_script_progression --message="Building from sources..." --weight=15
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
ynh_script_progression --message="Fetching Yarn dependencies... This can be very long, be patient !" --weight=18
|
ynh_script_progression --message="Fetching Yarn dependencies... This can be very long, be patient !" --weight=18
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --network-timeout 1000000000
|
||||||
ynh_script_progression --message="Cleaning cache... " --weight=3
|
ynh_script_progression --message="Cleaning cache... " --weight=3
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean 2>&1
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean 2>&1
|
||||||
ynh_script_progression --message="Building Yarn dependencies... This can be very long, be patient !" --weight=18
|
ynh_script_progression --message="Building Yarn dependencies... This can be very long, be patient !" --weight=18
|
||||||
|
|
Loading…
Reference in a new issue