-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project Name #2360
Comments
You'd better do NOT add special characters in project name. This is not a good habit. A lot of tools don't support special characters in project name. |
@sunkehappy 🤔yeah for that purpose can we like include validation during input from user that will be not be a big overhead I believe |
@king-11 Yeah good idea. I will create a pull request to prevent user from input special characters in project name. |
@yyx990803 thanks for addressing the issue |
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 app
or any set of words with space.System Info
vite
version: 2.0.5Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: