-
Notifications
You must be signed in to change notification settings - Fork 3
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
Can't import the named export 'createContext' from non EcmaScript module #39
Comments
Hi @twigs67, We had noticed an issue with webpack4 loading cjs/mjs modules in an incorrect way that would cause issues which we hopefully resolved in the new v0.2.0 release. Can you confirm if upgrading If it doesn't, would you be able to provide your Cheers. |
Hi @Shard, I have the same issue in
|
Hi @kdembler, Can you try the new version |
@Shard unfortunately no, still the same thing
|
Hi @kdembler, We haven't been able to reproduce this issue yet internally. I'm working on creating an example project so we can add it to the integration test suite. If you could provide any custom build configuration or scripts that you might be using that configure Cheers |
I did a bit of work to replicate an One thing off the top of my head that might help on your side is upgrading to Cheers |
After a bit of searching, we did run into people with a similar error who had a workaround reactioncommerce/reaction-component-library#399 (comment) |
After more testing it appears to be an issue with v4 of react scripts, upgrading to v5 should resolve the issue. |
My code:
The text was updated successfully, but these errors were encountered: