Not useful logs in vercel staging deploy #4118
-
Hi there I'm getting a 500 for an SSR page that uses secrets via environment, although it works perfectly with `
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
Hi @aloukissas The error message has a couple links with more details. https://reactjs.org/docs/error-decoder.html?invariant=152&args%5B%5D=Header
https://err.sh/next.js/prerender-error Why This Error OccurredWhile prerendering a page an error occurred. This can occur for many reasons from adding non-pages e.g. Possible Ways to Fix It
|
Beta Was this translation helpful? Give feedback.
Hi @aloukissas
The error message has a couple links with more details.
https://reactjs.org/docs/error-decoder.html?invariant=152&args%5B%5D=Header
https://err.sh/next.js/prerender-error
Why This Error Occurred
While prerendering a page an error occurred. This can occur for many reasons from adding non-pages e.g.
components
to yourpages
folder or expecting props to be populated which are not.Possible Ways to Fix It
pages
folder