Skip to content

Project Name  #2360

@king-11

Description

@king-11

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)

  1. Run vite or vite build with the --debug flag.
  2. Provide the error log here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions