From 6aeed38df541d8f638ecc9089f8195ff1d71162b Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 27 Dec 2023 15:02:28 +0100 Subject: [PATCH] =?UTF-8?q?trying=20something=20with=20NODE=5FENV/CONFIG?= =?UTF-8?q?=C2=A0DIR=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 6cf9a01..e303d66 100644 --- a/scripts/install +++ b/scripts/install @@ -164,9 +164,9 @@ ynh_script_progression --message="Building Yarn dependencies..." pushd "$final_path" ynh_use_nodejs npm install -g npm - 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 + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production yarn config set network-timeout 300000 + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production yarn install --production --pure-lockfile + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production yarn cache clean popd #=================================================