From f2d7c2968b989a1976d18daa95a8339732fc29a8 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 12 Jan 2024 20:37:22 +0100 Subject: [PATCH] Load path for corepack --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 26b6312..f4aeab7 100644 --- a/scripts/install +++ b/scripts/install @@ -59,7 +59,7 @@ ynh_script_progression --message="Building Yarn dependencies..." pushd "$install_dir" ynh_use_nodejs - ynh_exec_warn_less corepack enable + ynh_exec_warn_less env $ynh_node_load_PATH corepack enable 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