dubzzz opened a new issue, #21547: URL: https://github.com/apache/echarts/issues/21547
### Version 3.0.6 ### Link to Minimal Reproduction https://stackblitz.com/edit/vitejs-vite-jyrcmi77?file=src%2Fmain.tsx ### Steps to Reproduce 1. Start a demo project with Vite 8 2. Setup echarts-for-react on the first component 3. Run the code in dev mode 4. Open the browser It crashes with the error: ```txt Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. ``` The failure occurs with `EChartsReactCore`. ### Current Behavior It crashes. ### Expected Behavior It does not crash. ### Environment ```markdown - OS: Windows 11 - Browser: 149.0b10 (aarch64) - Framework: React@19 ``` ### Any additional comments? Documented on Vite 8 side: - https://github.com/vitejs/vite/issues/21841 - https://vite.dev/guide/migration#consistent-commonjs-interop -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
