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

Fix Can't import the named export 'createElement' #36

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

SpadarShut
Copy link
Contributor

@SpadarShut SpadarShut commented Oct 15, 2019

I tried to switch to beta 6 and got the following webpack error (and same ones for some other exports):

Can't import the named export 'createElement' from non EcmaScript module (only default export is available)

A bit of searching showed that there's a problem with default webpack config and packages that export .mjs files. More details here: apollographql/react-apollo#1737
This PR removes the mjs entry from package.json.

tried to switch to beta 6 and got the following webpack errors:
> Can't import the named export 'createElement' from non EcmaScript module (only default export is available)
A bit of searching showed that there's a problem with default webpack config and packages that export .mjs files. More details here apollographql/react-apollo#1737
This PR removes the mjs entry from package.json.
@FezVrasta FezVrasta merged commit d455369 into FezVrasta:master Oct 15, 2019
@FezVrasta
Copy link
Owner

Thanks

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

Successfully merging this pull request may close these issues.

2 participants