You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i create a new project by ng new xyz and the projectname is not valid (for example test_project because of the underscore), the CLI is telling me about the invalid name only AFTER i had to select angular-routing (y/N) and what style-type i want to use (css/scss/...).
This should be changed in a way where the proejctname is validated FIRST, before i have to choose other things.
If the selections i make could have an effect on the validation, that would be a different story, but if the projectname is invalid, there is nothing in those 2 selections that could make it working.
🔬 Minimal Reproduction
ng new test_project
<select Y/N for routing>
<select style type>
🔥 Exception or Error
Project name "test_project" is not valid. New project names must start with a letter, and must contain only alphanumeric characters or dashes. When adding a dash the segment after the dash must also start with a letter.
🐞 Bug report
Command (mark with an
x
)Is this a regression?
I think this bug was existing for along time.
Description
If i create a new project by
ng new xyz
and the projectname is not valid (for exampletest_project
because of the underscore), the CLI is telling me about the invalid name only AFTER i had to select angular-routing (y/N) and what style-type i want to use (css/scss/...).This should be changed in a way where the proejctname is validated FIRST, before i have to choose other things.
If the selections i make could have an effect on the validation, that would be a different story, but if the projectname is invalid, there is nothing in those 2 selections that could make it working.
🔬 Minimal Reproduction
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: