-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
I can't use amplify on internet explorer 11 #4515
Comments
You're right, IE11 should work since we maintain the same browser compatibility as:
I suspect the problem is with I'll need a moment to setup my environment to reproduce, but I was curious if the following works in IE11 for you? import 'babel-polyfill';
import Amplify from 'aws-amplify';
import awsconfig from './aws-exports';
Amplify.configure(awsconfig); |
Thank you for your reply. I tried your code but cli displayed following message
so I tried following import on main.ts
this import is successfully but Browser displayed same error. I'm looking forward to your update. Thank you. |
Oh, I'm sorry! I should've mentioned this part: you need to There is indeed usage of |
Thank you.
And now, I tried
and import in main.ts as following
Then build finished successfully but Internet Explorer displayed same error message. Thank you. |
Ok, then I'll dig into when this regression occurred. Thanks for the quick turnaround @hryktrd. |
Probably you are missing Typed Array polyfill. |
@gautamcparmar where do you put |
Ok the error come from |
@michelschmit I'm glad you were able to find an resolution. We're still investigating this as there are a couple issues to address:
|
@ericclemmons Also the css doesn't seem to have been polyfilled for IE in |
For me adding |
Hi. I'm looking forward to your update. |
Like others here, I got around this by importing core-js components and a promise polyfill.
And then my import list looks like this:
Hope that helps someone. |
Hi, is someone find a solution to have colors on IE11 ? Since
thanks ! |
@michelschmit That's an excellent callout! Can you add this to #3279 so we can track it as part of our UI efforts? |
Any update on these annoying old browser support issues? IE11 is still having issues when I added these polyfills
It is still complaining about |
@mattiLeBlanc It's not a great long-term solution, but if you downgrade to aws-amplify v2.2.7 it should work on IE11. |
@cshouts-tasc Or implement a Babel conversion of the es6 file that is causing the error? |
I'm seeing a syntax error in ie11 and if I search the node_module directory, aws-amplify/dist I find the line that comes up when I click the error in IE dev tools. It appears to be related to at least one arrow function in the min file:
Seems I am running into the same as @mattiLeBlanc |
Thanks for the investigation @smakinson! That narrows the cause down to a single dependency for us to focus on. |
My search also came up with the same thing in @aws-amplify/datastore/dist/aws-amplify-datastore.min.js |
DataStore also uses proxies, which are not supported in IE11.
Proxies can't be fully polyfilled, so if IE11 support is a goal, predicate handling would have to be changed. |
I am using latest version, but the arrow function in amplify still crash my whole app in IE 11, |
I got same issue with @masbaehr, I must use amplify to connect to aws, but my client request browser support on IE as well |
aws/aws-sdk-js-v3#1319 |
resolving as this is fix is within our latest release, 3.0.22 |
This issue was a pain in the... even by IE standards.
|
Just to add to @noamyg's comment, typed array polyfills have been split in core-js ^3.0.0 If you're using core-js@3, you can add the necessary polyfills with the following imports:
|
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Describe the bug
I'm using Angular8 and I included Amplify like below
I've confirmed that it works fine on Chrome and Edge but InternetExplorer displayed the following message
I think this might be caused by same as following issue
angular/preboot#63
Can you fix it?
To Reproduce
Steps to reproduce the behavior:
-- or --
Link to sample code
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Sample code
Include additional sample code or a sample repository to help us reproduce the issue. (Be sure to remove any sensitive data)
You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app.
The text was updated successfully, but these errors were encountered: