Next.js Discord

Discord Forum

Have odd think that happend only on deployment on vercel so i hope for directions

Unanswered
fastwings posted this in #help-forum
Open in Discord
ok my issue gose like this i have app that i building now in dev it work fine if i do npm start it work fix (localy) but when i see the preview deployment that my repo connected i get this thing
TypeError: Cannot destructure property 'auth' of 'e' as it is undefined.
at a (/var/task/.next/server/app/[locale]/page.js:5:66649)
at g (/var/task/.next/server/app/[locale]/page.js:5:51908)
at /var/task/.next/server/app/[locale]/page.js:5:52418
at Object.nr [as useMemo] (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:39130)
at t.useMemo (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:109856)
at /var/task/.next/server/app/[locale]/page.js:5:52392
at nj (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:46251)
at nM (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:60839)
at nN (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64546)
at nI (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:47010) {
digest: '1402101095'
}

now the odd thing here i dont have any user system or anything about auth when i check the comile code i get this (see the compile image) and i have no direction what is the reason for it

anyone have idea lead or something?

0 Replies