mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-21 18:55:17 +00:00
Fix Tianji: Add heap-space value for nodejs (#2011)
This commit is contained in:
1 parent
88daaed113
commit
d7b3f33030
1 file changed
+1
@@ -45,6 +45,7 @@ function update_script() {
|
||||
unzip -q v${RELEASE}.zip
|
||||
mv tianji-${RELEASE} /opt/tianji
|
||||
cd tianji
|
||||
export NODE_OPTIONS="--max_old_space_size=4096"
|
||||
pnpm install --filter @tianji/client... --config.dedupe-peer-dependents=false --frozen-lockfile >/dev/null 2>&1
|
||||
pnpm build:static >/dev/null 2>&1
|
||||
pnpm install --filter @tianji/server... --config.dedupe-peer-dependents=false >/dev/null 2>&1
|
||||
|
||||
Reference in new issue
Block a user