Next.js Discord

Discord Forum

TypeError: Cannot read properties of undefined (reading 'segment')

Unanswered
Arthur posted this in #help-forum
Open in Discord
TypeError: Cannot read properties of undefined (reading 'segment')
    at S (/opt/mintypanel/next/develop/.next/server/chunks/3639.js:44:18402)
    at nT (/opt/mintypanel/next/develop/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:46138)
    at nT (/opt/mintypanel/next/develop/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59937)
    at nO (/opt/mintypanel/next/develop/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62795)
    at nI (/opt/mintypanel/next/develop/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:65445)
    at nT (/opt/mintypanel/next/develop/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:57207)
    at nO (/opt/mintypanel/next/develop/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62795)
    at nT (/opt/mintypanel/next/develop/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59556)
    at nO (/opt/mintypanel/next/develop/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62795)
    at nR (/opt/mintypanel/next/develop/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45694)

8 Replies

anyone?
can you give a little bit more info?
@Ray can you give a little bit more info?
What do you want to see?
Im not sure what to provide because I can't really find why I get this error
from the message you provide, i don't even know what you doing lol
I don't get this at development
but in production I receive this error