I've tested this with several libraries (primarily next ui and chakra)
The error itself points to vite (it points to the .vite/<ui library> directory of node modules), but I've reinstalled all deps and npm cache multiple times and done hard resets on chrome.
Testing on chrome using wasp 0.11.8