mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-23 17:36:27 +02:00
proxcenter: skip the type check and lower the build heap (#18090)
Upstream added PROXCENTER_SKIP_TYPECHECK for builds from a released tag; the type check alone needs about 3 GB. A 4.6 GB heap on 6 GB of RAM got the build killed.
This commit is contained in:
committed by
GitHub
parent
507ccb85c2
commit
2d68523f89
+1
-1
@@ -44,7 +44,7 @@ function update_script() {
|
||||
$STD npm ci --legacy-peer-deps --ignore-scripts
|
||||
$STD npm run build:icons
|
||||
$STD npx prisma generate
|
||||
NODE_OPTIONS="--max-old-space-size=4608" $STD npm run build
|
||||
PROXCENTER_SKIP_TYPECHECK=1 NODE_OPTIONS="--max-old-space-size=3072" $STD npm run build
|
||||
msg_ok "Built ProxCenter"
|
||||
|
||||
msg_info "Migrating Database"
|
||||
|
||||
@@ -24,7 +24,7 @@ cd /opt/proxcenter/frontend
|
||||
$STD npm ci --legacy-peer-deps --ignore-scripts
|
||||
$STD npm run build:icons
|
||||
$STD npx prisma generate
|
||||
NODE_OPTIONS="--max-old-space-size=4608" $STD npm run build
|
||||
PROXCENTER_SKIP_TYPECHECK=1 NODE_OPTIONS="--max-old-space-size=3072" $STD npm run build
|
||||
msg_ok "Built ProxCenter"
|
||||
|
||||
msg_info "Configuring ProxCenter"
|
||||
|
||||
Reference in New Issue
Block a user