fix: reduce NODE_OPTIONS memory limit for frontend build to prevent issues

This commit is contained in:
MickLesk
2026-06-02 11:34:26 +02:00
parent f600c0f3c3
commit 6ce5b12c4f

View File

@@ -45,9 +45,8 @@ msg_ok "Installed Backend Dependencies"
msg_info "Building Frontend"
cd /opt/baserow/web-frontend
export NODE_OPTIONS="--max-old-space-size=6144"
$STD npm install --legacy-peer-deps
$STD npm run build
NODE_OPTIONS="--max-old-space-size=4096" $STD npm install --legacy-peer-deps
NODE_OPTIONS="--max-old-space-size=4096" $STD npm run build
msg_ok "Built Frontend"
msg_info "Configuring Baserow"