diff --git a/idc-deploy-shell/buildViewer.sh b/idc-deploy-shell/buildViewer.sh index bbb62412ea3..a587d6dd061 100644 --- a/idc-deploy-shell/buildViewer.sh +++ b/idc-deploy-shell/buildViewer.sh @@ -17,9 +17,12 @@ if [ "${CONFIG_ONLY}" != "True" ]; then export PUBLIC_URL='/v3/' + # Bump Node memory + export NODE_OPTIONS="--max-old-space-size=6000" # Same as root `install:frozen`: install exactly from yarn.lock (no resolver drift after dropping bun from CI). yarn install --frozen-lockfile --non-interactive - yarn run build + # Run in verbose mode to hopefully catch otherwise silent errors + yarn run build --verbose else mkdir -p platform/viewer/dist/ fi