I had tried to run Next.js project with next start
(next build
was ok and it works with next dev
) and saw some error messages in browser console:
TypeError: e is undefined
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Error rendering page: TypeError: t is undefined
I've watched that link in error message and it says:
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: [missing argument].[missing argument]
But I still don't understand where is the problem. Is there a way to disable code minification in next build
and view a full traceback?