Hey everyone,
I'm having some trouble with Nuxt's prerendering and I could use some help.
Sometimes, when I run the prerendering process, it doesn’t complete correctly — but it also doesn’t throw any errors. I'm using the prerender:routes hook and have crawlLinks set to false.
I've added console.log statements everywhere inside Nitro’s prerender file (even within node_modules), and it seems like the issue is with runParallel — it doesn’t always finish, and as a result, closePrerenderer is never called.
This doesn’t happen every time — but it happens often enough to break things, and I haven’t been able to identify the cause.
The problem is that it ends up generating an incomplete (and broken) version of the site.
Has anyone else encountered this? Any ideas on how to debug or fix it?
Thanks in advance!