From 6ce5b12c4fdb0f697b0d4ff4a9bc3a793fefad2f Mon Sep 17 00:00:00 2001 From: MickLesk Date: Tue, 2 Jun 2026 11:34:26 +0200 Subject: [PATCH] fix: reduce NODE_OPTIONS memory limit for frontend build to prevent issues --- install/baserow-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install/baserow-install.sh b/install/baserow-install.sh index 1cfc21a3..ddf05e17 100644 --- a/install/baserow-install.sh +++ b/install/baserow-install.sh @@ -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"