Open notarib-catcher opened 10 months ago
I also have the same issue.
Update: It seems to be fixed for my project, and the cause was the node version being used, (16 vs 18)
Using Node 16 it works, Node 18 doesn't. In my local machine instead, I have Node 20.6.1, which works fine too.
I was having the exact same issue. Locally it works fine, but deployed to Vercel and the mentioned error is occurring. The fix was indeed to lower the Node version in Vercel to version 16, unfortunately Vercel does not yet support version 20+.
Had the same problem, with Node.js 18 being used on Vercel, but Node 20 locally.
We downgraded to Node.js 18 locally (and most importantly, in CI) before building and deploying the app. Fixed it!
Provider type
Google
Environment
Environment
System:
Reproduction URL
https://github.com/notarib-catcher/fest-msite-sveltk
Describe the issue
I am hosting my sveltekit site on Vercel's Hobby plan, we're using authjs for sveltekit with google as the provider to authenticate users. The version of Authjs I'm using in live is @auth/sveltekit 0.3.10, the error is occuring even when I update to 0.3.11 (latest) The error seems to be a TypeError that occurs when attempting to login. So far, I have only attempted this with the google auth provider.
To be completely honest, I am at a loss for why this error is occuring.
How to reproduce
Since this error is rather specific to my deployment, I cannot provide a proper steps-to-reproduce, however here is the error log from vercel's runtime logs
Expected behavior
The user should be signed in with google