fix: reduce NODE_OPTIONS memory limit for frontend build to prevent issues
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user