Vite + React: "TypeError: Cannot read properties of undefined (reading 'classes')" #8395
Closed
7 tasks done
Labels
bug: upstream
Bug in a dependency of Vite
p2-edge-case
Bug, but has workaround or limited in scope (priority)
Describe the bug
I'm running an app with
react-tsparticles
andmui
. Whenever I run the app with vite everything works like a charm, but when I use build and preview it fails and I get the following error twice:Uncaught TypeError: Cannot read properties of undefined (reading 'classes')
. However, build was fine.Reproduction
https://github.com/AnthonyLzq/vite-test
System Info
Used Package Manager
yarn
Logs
Validations
The text was updated successfully, but these errors were encountered: