It seems like a TypeScript compile error (not a runtime).
This is not related to vite, because it does not check types.
See stackoverflow.com/questions/407431... for possible solution.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm using
vite
,typescript
,react
andchart.js
but still getting a problem.After doing that I'm getting this error:
Property 'global' does not exist on type 'Defaults'.ts(2339)
any
It seems like a TypeScript compile error (not a runtime).
This is not related to vite, because it does not check types.
See stackoverflow.com/questions/407431... for possible solution.