Same issue happened in vite v6.2 on mac, I'm using react-ts template, i need to delete and reinstall node_modules to work for a short time, after that, the issue comes out again