create-vuepress-site icon indicating copy to clipboard operation
create-vuepress-site copied to clipboard

Project name validation

Open nicolardi opened this issue 3 years ago • 0 comments

The project name needs to be valid, and if it isn't, you'll get an error message.

[tl;dr] The prompted "project name" is copied to the "name" field in the package.json. This field needs to be validated to make sure it is correct, or you will get an error message.

error package.json: Name contains illegal characters

when you run

yarn install

nicolardi avatar Jan 29 '22 09:01 nicolardi