mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-24 04:05:03 +00:00
proxcenter: skip the type check and lower the build heap
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:
1 parent
7d20051744
commit
671f0a347c
2 files changed
+2
-2
No files matched your search
+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