Skip to content

RangeError: Maximum call stack size exceeded #1026

@ryangittings

Description

@ryangittings

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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriorityPriority fix or enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions