N
Nuxt6mo ago
hartmut

nuxt project was working fine 1 month ago now fails on `pnpm run build` prerender

I'm getting many
Error: [500]
without more information on the cause or error causing this. The build was working fine 1 month ago (26/05/2024) but not any more. No change to the codebase. The pages that fail on prerender are fine in pnpm dev mode. Nuxt version: 3.11.1 I have also tried with nuxi upgrade --force to latest. (I actually did that first in case that's relevant, was doing some changes, all fine in dev mode, then failed on build -> started to roll everything back, even git clone the repo again into a new directory. same issues.)
1 Reply
hartmut
hartmutOP6mo ago
Thanks! Do you know if there's any way to get hold of the cause for the 500 error during prerender? Narrowing it down did help, indeed, and I have to take back that no errors were printed out. I might post more details tomorrow, but I've discovered multiple issues where the most fatal but also most obvious mistake was that I used the wrong node version locally (17 instead of 20) Thanks @L422Y
Want results from more Discord servers?
Add your server