Replies: 1 comment 1 reply
-
Just to be clear, if you remove the zoom plugin, then it works? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I'm using Snowpack for a React application written in Typescript. I import Chart.js with

import Chart from "chart.js/auto";
and would like to register the imported zoom plugin. However when I try to do that I get the following runtime error:TypeError: Cannot read property 'HALF_PI' of undefined at http://localhost:8080/_snowpack/pkg/chartjs.helpers.v3.3.0.js:5:23
The full source code:
Beta Was this translation helpful? Give feedback.
All reactions