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
I'm using
vite,typescript,reactandchart.jsbut 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.