From b441d0f6bcbe032f5d3467f5d2ac89b5167c25be Mon Sep 17 00:00:00 2001 From: lapineige Date: Tue, 26 Dec 2023 11:13:54 +0100 Subject: [PATCH] Raise timeout duration for Yarn https://forum.yunohost.org/t/can-not-install-peertube/27740/7 --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 3896502..5f90f2f 100644 --- a/scripts/install +++ b/scripts/install @@ -163,6 +163,7 @@ ynh_script_progression --message="Building Yarn dependencies..." pushd "$final_path" ynh_use_nodejs + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn config set network-timeout 300000 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production --pure-lockfile ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean popd