-
-
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
IE 11 issue with setImmediate + webpack dev server #62
Comments
Strange. In |
Thanks for looking at this. I'll get a reproducible example together in the next day or so. |
@box-turtle any news? Already there was a similar issue, #49 cc @bloodyowl |
Sorry - been a crazy week at work - probably be the weekend. Just to clarify - I only see this when I am running the code in webpack dev server. If I run a complete build to compile the code then the error does not occur - code runs fine in IE9 - 11. So it could be this is not an issue with core.js but more environment related. |
yeah, I had the same issue there. it's really hard to reproduce given how badly the stacktraces show up. |
Does core-js actually provide a |
@jareware do not provides, do not uses and there are no plans about it. |
Due to the lack of reproducible example - close issue. |
I'm also got this error under IE11 when running code in webpack dev server |
@Tsing looks like |
Hello (and sorry for my English), I have similar issue. I'm using I've created repo to reproduce https://github.com/alf-er/wp_test |
Oh... I've found. It's happened because of |
@ALF-er interesting, thanks. |
\cc @sokra |
Here a tiny repo with the issue https://github.com/rafaelchiti/ie9_issue_transpiled_code |
@zloirock is this close here because it should go on babel? just making sure the debugging info is on the right ticket. Thanks! |
@rafaelchiti I did not reopen this issue because rather it is |
If someone wanna fix it - available PR, in near days most likely I'll not have time. |
Should be fixed in |
Glad I ran into this thread. I had similar problems with a webpack-generated page on IE even though it wasn't using the webpack dev server. Changing the dev-tools config option to be "source-map" (as opposed to "eval-source-map") worked. |
I reported this on the babel project and @sebmck said I should report it over here.
Using babel/core.js with projects that rely on requestAnimationFrame or setImmediate I see "Invalid Calling Object" errors when viewing in IE 11 on Windows 7.
I believe that when you alias setImmediate in IE you have to first bind the function to a calling object.
Here is the specific issue I hit with the Flummox project:
acdlite/flummox#167
References:
caolan/async#299
browserify/browserify#237
https://msdn.microsoft.com/library/gg622930(v=vs.85).aspx
Specific code for the Flummox issue is a Flummox action class that utilizes async/await. Babel is being run with stage=0.
After transpilation by webpack, when I load the page in the dev server, the error "Invalid Calling Object" occurs in the file es6.promise.js at the line:
The error only occurs in IE, works fine on mac/win firefox/safari/chrome.
Similar issues with requestAnimationFrame
facebookarchive/fixed-data-table#15
jquense/react-widgets#91
The text was updated successfully, but these errors were encountered: