Unable to create new project with a number in its name
See original GitHub issueVersions
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/cli
ng 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.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:15
- Comments:24 (1 by maintainers)
Top Results From Across the Web
Unable to create a new project (#24739) · Issues - GitLab.org
Now I've figured out that I can not crate a new project any more. ... Fill 'Project name' field with 'NewProject'; Click on...
Read more >unable to create new project in visual studio 2015
Open visual studio. Tools Menu | Options | Projects and Solutions | Check the checkbox "Save new projects when created". Also, you can...
Read more >Solved: Unable to create new project - AutoCAD Electrical
In AutoCAD Electrical 2020 I am unable to create a new project. I can go to the project manager and click on new...
Read more >Can't create a new project - Adobe Support Community
Type a "name" in the name field. Set a location for the project file in the drop-down for Location. Click "create" ... that's...
Read more >Getting "Failed to create the Salesforce DX project: A name ...
Hi. IC2 is just running "sfdx force:project:create", so perhaps we should see the exact command it's running. Please enable debug logging for Salesforce...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just got the same error with an underscore in the project name.
Actually looking into this more, it appears that there’s an issue with creating a project with a number in it’s name.
If I create a project with
ng new ng-playground
it works. But as soon as I add a number likeng new ng-6-playground
the error in the original post appears.