Skip to content
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

chrome mobile 30.0.0: Maximum call stack size exceeded #752

Closed
aladdin-add opened this issue Jan 16, 2020 · 4 comments
Closed

chrome mobile 30.0.0: Maximum call stack size exceeded #752

aladdin-add opened this issue Jan 16, 2020 · 4 comments

Comments

@aladdin-add
Copy link

image

core-js: 3.6.2
browser: Chrome Mobile 30.0.0

this might be related to 2 polyfills loaded:js-polyfills

@slowcheetah
Copy link
Contributor

this might be related to 2 polyfills loaded:js-polyfills
looks like this

Why are you using js-polyfills?

@aladdin-add
Copy link
Author

I agreed it's a rare case; it just happened in an old project( I'm not the author) (ノへ ̄、)

@JakeChampion
Copy link
Contributor

js-polyfills has it's own Symbol polyfill and so does core-js. You can't combine those two polyfill libraries together because they only work with their own Symbol polyfills, that is because it is impossible to make a perfectly spec-compliant Symbol polyfill, so all other polyfills which rely on Symbol (such as Array.from or RegExp.prototype[@@replace]() etc) rely on a specific Symbol polyfill to exist.

You can see this is the case because the errors you are seeing are to do with fixing the well-known Symbols.

@aladdin-add
Copy link
Author

thanks for the response!
I've fixed it by removing js-polyfills, so closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants