Next.js Discord

Discord Forum

Maximum call stack size exceeded

Answered
aychar posted this in #help-forum
Open in Discord
Avatar
Whenever I try to run my app, I'm getting this error about the call stack being exceeded:
Internal error: RangeError: Maximum call stack size exceeded
    at /Users/hrfarmer/programming/javascript/osu-dashboard/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13384
    at /Users/hrfarmer/programming/javascript/osu-dashboard/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13903
    at /Users/hrfarmer/programming/javascript/osu-dashboard/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:14207

and this just keeps going on. It started soon after I installed [osu-api-extended](https://www.npmjs.com/package/osu-api-extended?activeTab=readme) and now I can't figure out how to fix it, even after uninstalling it, but maybe that's not what's causing this.

Here's the repo: https://github.com/hrfarmer/osu-dashboard
Image
Answered by aychar
i looked back and i just realized that i was passing a component as a child into the wrong component... sorry 😅
View full answer

2 Replies

Avatar
Looks like there is an issue either with the main app or the page you go to by default. Likely an infinite loop, or too much data being loaded.
Avatar
i looked back and i just realized that i was passing a component as a child into the wrong component... sorry 😅
Answer