-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Component import problem #12
Comments
Which tool are you using for this? Webpack? It would help to know which and what version. |
i started getting this too.. simply by deleting node_modules and running npm i |
Some basic information about your environment would go a long way to solving this. See the above, a repository recreating the issue would be ideal. |
ok so this is hot i ended up here.
|
Downgrading react-scripts puts you to v4 which does not understand Node ESM (related: facebook/create-react-app#10356). Could you try with a clean install on v5? |
sorry my bad, i get a different set of errors with v4 with v5.0.1 I get the below error on start all packages |
I published a workaround in |
Alright, I bumped its-fine in |
yes everything is working now. Thank you for looking into it |
@hakancunier let me know if there are any withstanding issues on your end. This looks to be resolved between CRA and vanilla Webpack with the work around from #14. |
Hello. I got it working by upgrading react-scripts ^5.0.1. Thank you again. |
Last day i updated my npm packages and got this error:
./node_modules/its-fine/dist/index.mjs
Can't import the named export 'Component' from non EcmaScript module (only default export is available)
The text was updated successfully, but these errors were encountered: