Try NODE_OPTIONS
This commit is contained in:
parent
2fb843528c
commit
0db71a4907
@ -41,9 +41,10 @@ function update_script() {
|
|||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "zerobyte" "nicotsx/zerobyte" "tarball"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "zerobyte" "nicotsx/zerobyte" "tarball"
|
||||||
|
|
||||||
msg_info "Building Zerobyte"
|
msg_info "Building Zerobyte"
|
||||||
|
export NODE_OPTIONS="--max-old-space-size=3072"
|
||||||
cd /opt/zerobyte
|
cd /opt/zerobyte
|
||||||
$STD bun install
|
$STD bun install
|
||||||
$STD bun --smol run build
|
$STD bun run build
|
||||||
msg_ok "Built Zerobyte"
|
msg_ok "Built Zerobyte"
|
||||||
|
|
||||||
msg_info "Restoring Configuration"
|
msg_info "Restoring Configuration"
|
||||||
|
|||||||
@ -48,8 +48,9 @@ cd /opt/zerobyte
|
|||||||
export VITE_RESTIC_VERSION=$(cat ~/.restic)
|
export VITE_RESTIC_VERSION=$(cat ~/.restic)
|
||||||
export VITE_RCLONE_VERSION=$(cat ~/.rclone)
|
export VITE_RCLONE_VERSION=$(cat ~/.rclone)
|
||||||
export VITE_SHOUTRRR_VERSION=$(cat ~/.shoutrrr)
|
export VITE_SHOUTRRR_VERSION=$(cat ~/.shoutrrr)
|
||||||
|
export NODE_OPTIONS="--max-old-space-size=3072"
|
||||||
$STD bun install
|
$STD bun install
|
||||||
$STD bun --smol run build
|
$STD bun run build
|
||||||
msg_ok "Built Zerobyte"
|
msg_ok "Built Zerobyte"
|
||||||
|
|
||||||
msg_info "Configuring Zerobyte"
|
msg_info "Configuring Zerobyte"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user