Failed to fetch /api/auth/session - CLIENT_FETCH_ERROR #5712
|
Hello everyone, I'm new to next-auth and this is my first discussion post here. Looking forward to being apart of the community! When cloning the next-auth-example repo on my personal windows machine, everything works perfectly. However, on my M1 Mac, when cloning the exact same repo, I'm met with the following errors... The redirects seem to be bouncing between 'session' & 'session/' as shown below until it errors... I'm aware that CLIENT_FETCH_ERROR is normally resolved by setting a NEXTAUTH_URL .env variable, which I have. Here is my .env.local
I've tried setting When attempting to Sign In, I'm redirected to Any thoughts would be greatly appreciated! System:
Binaries:
Browsers:
npmPackages:
|
Replies: 1 comment · 1 reply
|
Super odd, however, after re-installing node w/ brew, deleting all generated project files, and giving the mac a fresh restart things seem to be working now. I guess the typical, "turn it off/on again" was the case here. No real conclusion as to what was causing this issue, but nonetheless, it's resolved. 🤷🏽 |



Super odd, however, after re-installing node w/ brew, deleting all generated project files, and giving the mac a fresh restart things seem to be working now. I guess the typical, "turn it off/on again" was the case here.
No real conclusion as to what was causing this issue, but nonetheless, it's resolved. 🤷🏽