-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix RangeError: Maximum Call Stack Size Exceeded in inspect-source.js with Hermes JS Engine in core-js versions 3.39.0 #1381
Comments
Facing the same issue. |
This logic was not changed in 3.39.0. It was not changed for a long time. It's just a demetodized version of It should throw an error for non-callable objects. A Could you add a reproducible example? |
I don't run the full test case in Hermes, however I just run full |
Any news with a reproducible example? |
This issue is likely caused by the same dynamic inline requires settings as was mentioned by #1237 |
I followed the @Titozzz recommendation but extended it to:
|
It seems @Vyazovoy is correct, it's an issue of your build process. Closed as |
I'm encountering a RangeError: Maximum call stack size exceeded (native stack depth) error while using the Hermes JavaScript engine. The issue originates from inspect-source.js in core-js versions 3.39.0. The problematic code is as follows:
The error appears to stem from improper handling of recursion in store.inspectSource.
Proposed Solution:
Below is a suggested fix that resolves the issue by adding safeguards:
The changes include:
Please consider this fix to prevent similar issues in the future.
The text was updated successfully, but these errors were encountered: