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

The create-react-app is not rendering on IE11, due to kentico-cloud-delivery issue #147

Closed
marjanatwork opened this issue Mar 19, 2019 · 3 comments
Assignees

Comments

@marjanatwork
Copy link

Hi,
My create-react-app application is not rendered on IE11. When I Inspect elements, I see this error:
errorkentico

and when I click on bundle.js in the error message, I get the following message in bundle.js file:
errorkentico2

In kentico-cloud-delivery folder in node_moduals there are the following SDKs of kentico:

kentico-cloud-delivery-sdk.browser.umd.min.js
kentico-cloud-delivery-sdk.browser.umd.min.js.map
kentico-cloud-delivery-sdk.umd.js
kentico-cloud-delivery-sdk.umd.js.map
kentico-cloud-delivery-sdk.umd.min.js
kentico-cloud-delivery-sdk.umd.min.js.map

I would appreciate it if you could help me to resolve this issue.

Many thanks,
Marjan

@Enngage
Copy link
Contributor

Enngage commented Mar 20, 2019

Hi,

This may be related to react issue as described at #69

The code you mentioned actually comes from a 3rd party dependency we have (parse5) and likely the fact its not published in ES5 format which is causing IE to fail.

A possible workaround is to instruct react to use the kentico-cloud-delivery-sdk.browser.umd.min.js umd bundle instead which has all code transpiled to ES5. The issue above contains some information on this as well.

@marjanatwork
Copy link
Author

Awesome! This solution worked for me. Thank you very much for your good guidance.

@Simply007
Copy link
Contributor

Hello @marjanatwork. I've just sent you an invitation to the Kentico GitHub organization, in case you want to stay up to date with our OS projects.

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

No branches or pull requests

3 participants