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 core-js npm package could not be found in your node_modules, while using the client bundle in Internet explorer 11 #97

Open
shacharsol opened this issue Dec 8, 2018 · 2 comments

Comments

@shacharsol
Copy link

I added both to bundler.config.json and npm's package.json , but it always fail with this error

@bmanturner
Copy link

Same issue on react-native

@bmanturner
Copy link

Removing this snippet fixed it for me:

              var core = function () {
                try {
                  return require("core-js/modules/_core");
                } catch (e) {
                  // Older versions of core-js had a different file layout.
                  return require("core-js/modules/$.core");
                }
              }();

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

No branches or pull requests

2 participants