If you use NextAuth within your Next.js v12.x project, you've probably faced this issue: Can't resolve module 'next/headers' The only way I found it was by applying a patch-package to the Next Auth package. Let's fix it: Change your package.json: ...
mauriciord.dev2 min read
No responses yet.