N8n failed deploy

Hi, I have been struggling for months now with this issue when trying to update and redeploy n8n on Render and it’s absolutely killing me.

@n8nn8n/chat:build: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

I’ve adjusted my environment settings NODE_OPTIONS to max-old-space-size=6144. I’ve tried altering packages/nodes-base/package.json with:

“build”: “NODE_OPTIONS=–max-old-space-size=4096 tsc --build tsconfig.build.cjs.json && pnpm copy-nodes-json && tsc-alias -p tsconfig.build.cjs.json && pnpm n8n-copy-static-files && pnpm n8n-generate-translations && pnpm n8n-generate-metadata”,

I’m at wits end over this and am currently 800 commits behind. If this doesn’t get resolved I’m migrating over to Coolify/Hetzner and canceling this service.

Thanks, Shawn

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.