-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fetching server causes a "maximum call stack size exceeded" error #25
Comments
How many servers do you have on your panel? Keep in mind that |
I've only got about 20 servers on the panel, so it shouldn't really be an issue. I have a feeling webpack or some of the underlying NextJS code might be at fault, as normal js works perfectly fine. |
I am also getting this issue also with Express. I haven't got many servers. |
Some additional info Attempted to fix it, but it's not the correct fix, it's an issue with the conversion of the object to JSON.
Same error occurs with |
.toJSON() is also affected. |
Causes the following error
Using the library built-in toJSON causes |
It looks like there's still objects in the |
I've had this same issue. Try deleting the database property from the ApplicationServer object and then calling .toJSON() |
When used in NextJS's API Handlers
Issue is specific to NextJS, same does not occur when Node alone is used.
The issue seems to stem from the function "toSnakeCase"
The text was updated successfully, but these errors were encountered: