You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are seeing a lot of this issue in our Vercel logs:
ERROR Error: Cannot find module '/var/task/web/.next/server/pages/api/auth/[...nextauth].js'
Require stack:
/var/task/web/node_modules/next/dist/server/require.js
/var/task/web/node_modules/next/dist/server/next-server.js
/var/task/web/___next_launcher.cjs
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.requirePage (/var/task/web/node_modules/next/dist/server/require.js:47:12)
at Object.loadComponents (/var/task/web/node_modules/next/dist/server/load-components.js:56:23)
at NextNodeServer.findPageComponents (/var/task/web/node_modules/next/dist/server/next-server.js:442:63)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async NextNodeServer.renderToResponse (/var/task/web/node_modules/next/dist/server/base-server.js:1079:48) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/task/web/node_modules/next/dist/server/require.js',
'/var/task/web/node_modules/next/dist/server/next-server.js',
'/var/task/web/___next_launcher.cjs'
],
page: '/api/auth/callback/cognito'
}
No issues have been reported from end-users and Next Auth seems to be working fine when testing the site, but still, we would like to get it fixed.
Does anyone know what could be causing this issue?
questionAsk how to do something or how something works
1 participant
Converted from issue
This discussion was converted from issue #5353 on September 16, 2022 23:48.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
We are seeing a lot of this issue in our Vercel logs:
No issues have been reported from end-users and Next Auth seems to be working fine when testing the site, but still, we would like to get it fixed.
Does anyone know what could be causing this issue?
How to reproduce ☕️
Not sure what's causing the issue.
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions