You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[] If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.
Describe the bug
Unable to use popular react charting libraries such as recharts or nivo I think this may be related to #162 constantly just getting TypeError: _interopRequireDefault is not a function. (In '_interopRequireDefault(require_hasClass())', '_interopRequireDefault' is an instance of Object) no matter what I try.
Reproduction
Setup a vite react project with @vitejs/app
Install recharts and use example line graph.
Vite throws an error and crashes the page.
System Info
vite version: 2.0.1
Operating System: macOS Big Sur
Node version: 12.18.3
Package manager (npm/yarn/pnpm) and version: yarn v 1.22.4
The text was updated successfully, but these errors were encountered:
Describe the bug
Unable to use popular react charting libraries such as
recharts
ornivo
I think this may be related to #162 constantly just gettingTypeError: _interopRequireDefault is not a function. (In '_interopRequireDefault(require_hasClass())', '_interopRequireDefault' is an instance of Object)
no matter what I try.Reproduction
@vitejs/app
System Info
vite
version: 2.0.1The text was updated successfully, but these errors were encountered: