Skip to content

UI should prevent from entering an invalid project name #1596

Closed
@zoispag

Description

@zoispag

Version

3.0.0-rc.2

Reproduction link

https://jsfiddle.net/zoispag/rba9coxn/

Steps to reproduce

  • Open vue-ui.
  • Create project with any preset
  • Choose either yarn or npm.

What is expected?

To create/download the project

What is actually happening?

Response in terminal
{"type":"error","data":"package.json: Name contains illegal characters"} command failed: yarn --json


Package.json contains:

{
  "name": "Projects/vueSpa",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "@vue/cli-plugin-babel": "^3.0.0-beta.15",
    "@vue/cli-plugin-eslint": "^3.0.0-beta.15",
    "@vue/cli-service": "^3.0.0-beta.15"
  }
}

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