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
In IE11 [object(_Symbol )] is not an object exception is getting thrown (T7348) #4286
Comments
This isn't much to go on. What functions does that stack trace translate into? |
Getting same thing. Using gulp+webpack+babel for transpile+build. React, Redux, Axios. Axios uses Promise, so we have to use a polyfill for IE11. Babel's site recommended babel-polyfill, so that's what I tried. I have followed the (simple?) instructions on the babel site:
IE11 (and IE10) complain about 'Exception thrown and not caught' and point at the line indicated in the initial report. After spending many hours searching for solutions my only question is: why hasn't anyone else seen this? |
Here's what I got from IE11. Doesn't seem particularly helpful, but who knows... Additionally, IE's debugger first opens
|
wheww....finally I resolved this error. It seems there is some issue with either babel or webpack configuration if you use babel-polyfill as entry file. I simply removed the 'babel-polyfill' entry file from webpack.config and added it in my index.html like below and it worked.
|
I'm having this same issue with Firefox 31 (and an unknown version of Mobile Safari). I'm having issues getting a proper traceback out of Firefox, but stepping through it looks like this is all happening in this definition in
Maybe this means it's an upstream issue in core-js? Moving from a |
I'm getting this same problem with Webpack - based on the stack trace, it seems like the problem is that $Symbol[PROTOTYPE] is not an object (see screenshot below). Screenshot: https://i.imgur.com/sXUWKwJ.png There's a related issue here, in core.js (zloirock/core-js#189) which says that core-js shouldn't be put through the babel-loader, but after disabling it ('!!babel-polyfill' in the entry array) it still didn't work for me. Including from the CDN makes it work for me, but I'm still curious as to why the instructions on the babel site to add the polyfill to the entry array aren't working. |
Why is this issue closed when the issue still is very much an issue? We rather not have an extra |
If it was the error that @nathanhleung mentioned, then it is fixed with babel 6.16. see #3686 |
The issue I have is this:
Have the latest versions of babel-core, babel-loader and babel-preset-es2015. |
Same issue here. When loaded as an entry point or imported IE throws an uncaught exception pointing to the same line as above, but if included as a separate file beforehand it works fine. |
Can we reopen this issue, it is still a problem. |
I'm still having this issue as well. |
same problem |
Having the same issue:
|
Bug information
Description
I am using webpack along with react and redux. While the applications works fine with Chrome and FF, on IE11 I am not constantly getting this uncaught exception.
See below the stack--
The text was updated successfully, but these errors were encountered: