Minified React error #31
Unanswered
Mottled Owl posted this in #help-forum
Mottled OwlOP
Hi, I'm trying to build a NextJS app with app router and Material UI but no matter what changes I make I always get this error (404 / 500). I've tried removing material UI usage on layout and like not-found / error / global-error and use client on almost everything to no avail.
[Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B%24%24typeof%2C%20type%2C%20key%2C%20ref%2C%20props%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.]
Error occurred prerendering page "/500". Read more: https://nextjs.org/docs/messages/prerender-error
[Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B%24%24typeof%2C%20type%2C%20key%2C%20ref%2C%20props%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.]
Export encountered an error on /_error: /500, exiting the build.
⨯ Next.js build worker exited with code: 1 and signal: null