mirror of
https://github.com/YunoHost-Apps/snserver_ynh.git
synced 2024-09-03 20:26:22 +02:00
Fix: install - JavaScript heap out of memory
This commit is contained in:
parent
e1fc6eaec3
commit
5ceac8e51e
1 changed files with 6 additions and 6 deletions
|
@ -200,18 +200,18 @@ ynh_script_progression --message="Installing Standard Notes - Syncing Server..."
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
pushd "$final_path/live/syncing-server-js"
|
pushd "$final_path/live/syncing-server-js"
|
||||||
ynh_print_info "Installing ... [1/3]"
|
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 NODE_OPTIONS="--max-old-space-size=4096" 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 build
|
||||||
popd
|
popd
|
||||||
pushd "$final_path/live/auth"
|
pushd "$final_path/live/auth"
|
||||||
ynh_print_info "Installing ... [2/3]"
|
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 NODE_OPTIONS="--max-old-space-size=4096" 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 build
|
||||||
popd
|
popd
|
||||||
pushd "$final_path/live/api-gateway"
|
pushd "$final_path/live/api-gateway"
|
||||||
ynh_print_info "Installing ... [3/3]"
|
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 NODE_OPTIONS="--max-old-space-size=4096" 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 build
|
||||||
popd
|
popd
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALLING Standard Notes - Extensions
|
# INSTALLING Standard Notes - Extensions
|
||||||
|
|
Loading…
Reference in a new issue