Closed XolifyDev closed 1 year ago
This is unrelated to NextAuth.js. I see you already opened an issue at https://github.com/vercel/next.js/issues/54697
But I think it’s related to next auth as I have another api route and that’s not erroring…
This issue is related to next auth not nextjs please help
Environment
From what I see this problem is only happening because of NextAuth. I have asked around and I have seen no one has this problem
/app/api/auth/[...nextauth].ts
Please help.
This project is for a customer and it is due in the next 2 days.
Reproduction URL
--no-link--
Describe the issue
When running
npm run build
it gives me this errorI do not know how to fix this problem.
How to reproduce
npm run build.
Expected behavior
npm run build should run like normal.