-
Notifications
You must be signed in to change notification settings - Fork 97
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
Cannot import due to require() of ESM Module error on latest version #1161
Comments
I have found the it is version 5.1.10 which is the first version where I run into this, corresponding with the d3 upgrade. Any help on this would be greatly appreciated. |
We don't use Could you please share your code? Either in a ZIP file or code sandbox. |
This issue is stale because it has been open 30 days with no activity. It will be closed in 5 days unless a new comment is added. |
I've added an example for reproducing this issue over in #1266 |
OK, so the fix to this is dependent on us finding the solution for #1265 Let's keep this open, until we are able to figure |
Bug description
After upgrading to 5.5.2 all imports of the form
import * as am5 from "@amcharts/amcharts5";
result in the following error:
Environment (if applicable)
amcharts version: 5.5.2 (upgrading from 5.1.7)
Typescript: 4.7.2
Nextjs: 10.0.8
React: 17.0.2
The text was updated successfully, but these errors were encountered: