-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
ERROR in ../../node_modules/chartjs-plugin-zoom/dist/chartjs-plugin-zoom.esm.js 327:2-10 export 'callback' (imported as 'callback') was not found in 'chart.js/helpers' (module has no exports) #10547
Comments
The sample you linked does not seem to throw any errors like you describe, can you update it to reflect the behaviour you see |
we are using webpack and babel as mentioned above and hence the errors. It is unable to resolve |
I think the problem is that Should be.
|
I found the same problem in my application today while i was deploying to heroku (same version of chart.js 3.8.0)
in the node_module file inside './dist' there are only 2 files with the name 'helpers' and have the .esm.js and .mjs extensions. My last deploy was on Friday so, may be this modifications are the origin of the issue commit here |
@mlandalv @JS-TCIT - what is the solution to fix this issue in my environment? |
Confirmed that this is happening in my environment as well. Updated package.json to have version 3.8.2 be installed and the build worked again. |
I changed it to 3.8.0 and it started working fine. But curious why this was pushed as part of v3 and not v4 if it is such a big change. |
There was a bug with 3.8.1 that was resolved in 3.8.2. See #10513 for the fix |
After upgrade from 3.8.2 to 3.9.0 |
Fixed in #10552 |
Expected behavior
Versions used package.json:
"chart.js": "^3.8.0",
"chartjs-plugin-zoom": "1.0.1",
"react-chartjs-2": "^4.0.0",
No errors
Current behavior
Reproducible sample
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
v3.8.0
Browser name and version
Chrome
Link to your project
No response
The text was updated successfully, but these errors were encountered: