Rejox
Rejox
NNuxt
Created by Rejox on 4/8/2025 in #❓・help
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)
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
cssnano:
process.env.NODE_ENV === 'production'
? { preset: ['default', { discardComments: { removeAll: true } }] }
: false, // disable cssnano when not in production
},
}
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
cssnano:
process.env.NODE_ENV === 'production'
? { preset: ['default', { discardComments: { removeAll: true } }] }
: false, // disable cssnano when not in 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 added
10 replies
NNuxt
Created by Rejox on 12/8/2024 in #❓・help
500 page unavailable
No description
49 replies
NNuxt
Created by Rejox on 8/10/2024 in #❓・help
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
NNuxt
Created by Rejox on 8/10/2024 in #❓・help
defineOgImageComponent is not defined
No description
9 replies
NNuxt
Created by Rejox on 8/8/2024 in #❓・help
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
NNuxt
Created by Rejox on 8/4/2024 in #❓・help
Executing events at specific time
Hey there, does anybody know how I can execute events at a specific dateTime at the serverside? I know I can use like a scheduler to run every second, but I dont think thats the best practice, or is it?
17 replies
NNuxt
Created by Rejox on 7/5/2024 in #❓・help
Package error on server side in production
No description
23 replies
NNuxt
Created by Rejox on 5/26/2024 in #❓・help
Scheduling tasks
Hey there, is there anything I can use to schedule tasks server sided? I have found some things that work with scheduling some actions like every x amount of time. But I basically need to schedule tasks on a specific datetime
1 replies
NNuxt
Created by Rejox on 5/14/2024 in #❓・help
callOnce Hydration Issue
No description
4 replies