-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RangeError: Maximum call stack size exceeded #1026
Comments
Thanks for reporting! I quickly managed to find the cause and fixed some other bugs along the way. |
🎉 This issue has been resolved in version 3.2.0-canary.11 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Just tried this! Getting another error, did you want me to create a new issue? /node_modules/next-auth/dist/server/routes/session.js:48 TypeError: Cannot read property 'end' of undefined |
Sorry for the inconvenience! Try I overlooked some stuff and was too eager to merge. It should be ok now, I tested 12, and I can manage to log in correctly. We need to improve our tests to avoid things like this. |
No problem - I'm here to help! Great stuff, thanks for sorting so quickly. |
Working locally, though deploying with Next on Netlify and just getting console error. Not sure if this is environment related though... ["/api/auth/session", SyntaxError: Unexpected end of JSON input Update: works on Vercel, so it must be something specific with netlify! |
I'm testing Sign in with Apple, and just getting a task timeout on Vercel. Not sure why that is, though! [POST] /api/auth/callback/apple - Task timed out after 10.01 second |
Can you check if it works on canary version 8? |
Yep, works perfectly! |
Will have to look at it again, later. Might have to revert some of the refactorings. |
🎉 This issue has been resolved in version 3.3.0-canary.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Using 3.2.0-canary.10, and just getting the folllowing error:
Describe the bug
RangeError: Maximum call stack size exceeded
Do not report bugs with your own project here, ask from help by raising a question instead - this helps us a lot with administration overhead.
Steps to reproduce
Run npm run dev, and load page with auth provider.
Expected behavior
No callstack error!
Screenshots or error logs
API resolved without sending a response for /api/auth/session, this may result in stalled requests.
/node_modules/next-auth/dist/server/index.js:71
resolve();
^
RangeError: Maximum call stack size exceeded
at
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:71:11)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
at ServerResponse.res.end (/node_modules/next-auth/dist/server/index.js:72:15)
The text was updated successfully, but these errors were encountered: