Unable to create new project with a number in its name
Versions
Angular CLI: 6.0.0
Node: 9.9.0
OS: darwin x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.6.0
@angular-devkit/core 0.6.0
@angular-devkit/schematics 0.6.0
@schematics/angular 0.6.0
@schematics/update 0.6.0
rxjs 6.1.0
typescript 2.7.2
Repro steps
npm i -g @angular/cling new ng-6-playground
Observed behavior
Schematic input does not validate against the Schema: {"name":"ng-6-playground","version":"6.0.0","newProjectRoot":"projects","skipInstall":false,"linkCli":false,"skipGit":false,"commit":null}
Errors:
Data path ".name" should match format "html-selector".
Desired behavior
Should be able to create a new project using the CLI.
I had the same error as well, removing underscore in the project's name fixed the issue.
underscore [ _ ] in name of the project also threw this error
I couldn't agree with you any more TT
It seems that "_" is the main culprit... I removed and was able to create a new project.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.