From 8a206ef3f7a662b97b2c3047364a72c32c0615ea Mon Sep 17 00:00:00 2001 From: Limezy Date: Fri, 17 Feb 2023 09:12:58 +0700 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 0eae34a..5d8f06f 100755 --- a/scripts/install +++ b/scripts/install @@ -217,7 +217,7 @@ ynh_add_nginx_config pushd "$final_path" ynh_use_nodejs - export NODE_OPTIONS="--max-old-space-size=2048" + export NODE_OPTIONS=--max_old_space_size=1024 ynh_script_progression --message="Fetching Yarn dev dependencies... This can be very long, be patient !" --weight=18 ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --no-optional --frozen-lockfile --network-timeout 1000000000 2>&1 ynh_script_progression --message="Cleaning cache... " --weight=3