Route "src/app/api/auth/[...nextauth]/route.ts" does not match the required types of a Next.js Route.
"authOptions" is not a valid Route export field. | Notion
Why does my NextAuthJS discord login work in the test environment but cannot be built to production? (NextJS 13) · vercel next.js · Discussion #50511
