Rejox
Reached heap limit Allocation failed - JavaScript heap out of memory
Hi, a few days ago I started making some content changes, and after building the site, it never completed the build anymore. Just out of nowhere, the build starts failing. I have tried a lot of solutions on the internet that did not work out unfortunately. I think it has something to do with any package that has updated, however I cannot verify this, or don't know how.
What I tried:
1. Tried adding this code block in my nuxt.config.ts (with NODE_ENV set to production)
2. Tried adding
NODE_OPTIONS –max-old-space-size=4096
in .env
Both solutions do not work. This error is both on my localhost with pnpm run build
, and on the netlify hosting when it builds the site.
Build (error)log added10 replies
Only .png from /public not showing on DO build.
Hi all, we have multiple images in my public folder, and in my localhost or production build itself they all show up.
However, when we push it to Digital Ocean to build, all of the images work, except for the .png ones. Somebody has any idea of why this is?
1 replies
Host on Cloudfare Worker & Pages
Hey guys, I want to host my app on cloudfare worker & pages, unfortunately recently it gave the build error that I exceeded 25 MiB size for functions. I have no clue where I would have 25MiB, anyone can point me a direction how I can find it and how to make it less
2 replies