Describe the bug
Currently, the Vite project name accepts space-separated names for a project which isn't supported in the package.json
Reproduction
yarn create @vitejs/app
yarn
- enter project name as
vite app or any set of words with space.
System Info
vite version: 2.0.5
- Operating System: Manjaro
- Node version: v14.15.2
- Package manager (npm/yarn/pnpm) and version: yarn
Logs (Optional if provided reproduction)
- Run
vite or vite build with the --debug flag.
- Provide the error log here.
Describe the bug
Currently, the Vite project name accepts space-separated names for a project which isn't supported in the package.json
Reproduction
vite appor any set of words with space.System Info
viteversion: 2.0.5Logs (Optional if provided reproduction)
viteorvite buildwith the--debugflag.