-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Upgrading to latest version 5.0.3 throws compiling error: Can't reexport the named export 'Comment' from non EcmaScript module (only default export is available) #1143
Comments
Thanks for opening this issue @giovannirosa! Can you provide a reproducible example? |
Same issue. |
This is a webpack issue for 'older' packages Here is the solution that worked for me:
create 'config-overrides.js' file in root folder
|
Thanks @1978milanbabic. Do you have a reproducible example so I can verify the bug? |
Sorry, I work on a huge project and this was a MUST, ;) Luckily, found this solution.. |
Hi I'm having the same issue. How would I give you a reproducible example? |
@olupelumi can you create a CodeSandbox? See JavaScript or TypeScript |
Got the same Error with the version 5.0.7 React 17.0.1 |
need help with this same with react 18.2.0 |
@jaiprep Can you provide a reproducible example with StackBlitz? |
Anyone found a solution? Im using some older versions, react 16.14. And I tried to use it when implementing the statefull chat from azure (Dependency: @azure/communication-react). It requires the html-react-+arser but i had the same error |
@Diogofmr see if this Stackoverflow solves the issue for you |
Expected Behavior
The package at version 5.0.3 should compile without errors.
Actual Behavior
Steps to Reproduce
Using React 17.0.2, run npm i html-react-parser@latest, run npm start.
Upgrading to the latest v4 version displays no issues.
Environment
The text was updated successfully, but these errors were encountered: