Fetch Error on localhost and on server refresh cause the providers to be null #2569
Unanswered
muftisamiullah
asked this question in
Help
Replies: 1 comment 2 replies
-
i was able to fix the error by deleting the .next build folder and creating a new build, the only thing i didnt undersatnd why was it taking from build folder |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
logger.js?3836:11 [next-auth][error][client_fetch_error]
https://next-auth.js.org/errors#client_fetch_error session SyntaxError: Unexpected token < in JSON at position 0
POST http://localhost:3000/api/auth/_log 405 (Not Allowed)
next.config.js contains:
.env.local contains:
How to reproduce ☕️
running on localhost i dont know why im getting this.
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions