-
Notifications
You must be signed in to change notification settings - Fork 799
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
IE11 is throwing errors #1226
Comments
Fair issue. As long as there were just one valid reason to use Object.assign - easy to fix. |
@theKashey thanks a lot for your quick response and commit related to this issue. Do you have a clue when this is going to be released in the registry? |
Only tomorrow, sorry |
For me c5af009 didn't fix the issue in IE11. Since we're supposed to include @theKashey Could you please take another look into this? Thanks. |
Oh, that file dropped from my sight. I was analyzing only |
Now it's shall be done :) |
At it was working before?
|
@karolisgrinkevicius-home24 - I really need an answer! Did I shipped broken version, or it's not so bad?! |
@theKashey actually the error is different than it was before using IE11. On Chrome it's working well just like before.
I honestly didn't get what you want me to debug. Could you please clarify? |
So it’s working for Chrome, but generate this change errors only for IE11? |
Yes. The error is thrown only on IE11. I was using a new build which is https://www.npmjs.com/package/react-hot-loader/v/4.8.5. The error on IE11 is caught in |
After some digging, I found that the new IE11 This fails in IE11 throw new Error(
'React-Hot-Loader: `react-hot-loader/root` is not supported on your system. ' +
'Please use `import {hot} from "react-hot-loader"` instead',
); but this works: throw new Error(
'React-Hot-Loader: `react-hot-loader/root` is not supported on your system. ' +
'Please use `import {hot} from "react-hot-loader"` instead'
); When I fix it locally, though, I get another error that |
@karolisgrinkevicius-home24 Note that the |
Trailing commas are mine bad, sorry. |
Polyfills are not a problem at all. @tzimmermann thanks for digging into the issue. @theKashey could you please fix that SyntaxError so that IE11 engine is able to parse it properly? |
v4.8.6 would fix it |
Is this fixed? I am still getting Object.assign in 4.12.11 and 4.8.6 gives me Promise in undefined :( |
So it's broken again then. Some polyfills, like Promises or Object.assign, are commonly expected to be present :( |
I have the same issue :( |
Just tested - the only polyfill RHL is requiring - Promise ( |
I'm on 4.13.0, and it appears Promise is still undefined, it's throwing the error here: react-hot-loader/src/global/generation.js Line 59 in 69b9d48
|
Having the same issue @suhanw was showing. Any news on this? Cannot run o IE11. |
Any news on this? |
Description
IE11 is throwing error regarding usage of
Object.assign
without it being polyfilled.Expected behavior
IE11 doesn't throw any error in console.
Actual behavior
IE11 throws any error in console.
Environment
React Hot Loader version: 4.8.3
Run these commands in the project folder and fill in their results:
npm@6.9.0
node@11.12.0
This should be fairly easy to reproduce for everyone. I used VirtualBox.
The text was updated successfully, but these errors were encountered: