diff --git a/scripts/install b/scripts/install index 114667b..3b023df 100755 --- a/scripts/install +++ b/scripts/install @@ -200,18 +200,18 @@ ynh_script_progression --message="Installing Standard Notes - Syncing Server..." ynh_use_nodejs pushd "$final_path/live/syncing-server-js" ynh_print_info "Installing ... [1/3]" - ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn install --pure-lockfile - ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn build + ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn install --pure-lockfile + ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn build popd pushd "$final_path/live/auth" ynh_print_info "Installing ... [2/3]" - ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn install --pure-lockfile - ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn build + ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn install --pure-lockfile + ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn build popd pushd "$final_path/live/api-gateway" ynh_print_info "Installing ... [3/3]" - ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn install --pure-lockfile - ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn build + ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn install --pure-lockfile + ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn build popd #================================================= # INSTALLING Standard Notes - Extensions