Wednesday, June 5, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  23] [ 6]  / answers: 1 / hits: 14319  / 3 Years ago, sun, may 30, 2021, 12:00:00

I'm running Vercel compilation on my website and I can't get rid of the pre-rendering error on export.
does anyone know the reason for this to happen and can help me with this?
my github with all code: https://github.com/M0rilla/MyProfile


for each page have a error as above:


    Error occurred prerendering page "/resume". Read more: https://nextjs.org/docs/messages/prerender-error
Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Error: Export encountered errors on following paths:
21:20:09.541 /
21:20:09.541 /404
21:20:09.541 /500
21:20:09.541 /experiences
21:20:09.542 /resume
21:20:09.542 /skills

i dont have a custom 404 or 500 page.


More From » reactjs

 Answers
1

Vercel does some custom work in regards to next builds, so committing the .next build artifacts from your local machine or your node_modules folder can interfere with the build in unpredictable ways that give seemingly nonsensical error messages. Make sure to not commit either .next or node_modules to avoid this behavior.


[#1301] Saturday, May 22, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
savanar

Total Points: 237
Total Questions: 105
Total Answers: 99

Location: Wales
Member since Mon, May 17, 2021
3 Years ago
;