Vite
Vite cannot start because the project path contains an ampersand on Windows
Vite fails to start on Windows when the project path contains an ampersand, because npm path handling can break the CLI launch.
Vite
Vite fails to start on Windows when the project path contains an ampersand, because npm path handling can break the CLI launch.
Observed message
Error: Cannot find module 'C:\foo\bar&baz\vite\bin\vite.js'
Why it happens
How to fix it
Official reference
Vite: TroubleshootingRelated errors
Explore more