I updated the Angular CLI to the latest @angular/[email protected]
on a Mac OS. When issuing the command ng new testng7
, I get this error:
Schematic input does not validate against the Schema: {"name":"testng7"}
Errors:
Data path "" should have required property 'version'.
And nothing is created. Any clues how to fix?
This error is possible of avoiding naming standards
Project name can not have underscore '_'
. It can have dashes '-'
, small
and capital
letters and digits
.
Valid Project Names
myProject //camel casing style or JavaScript style
MyProject //normal style
MyProject1 //letters and numbers mixed style
My-Project1 //letters, numbers and dash mixed style
Invalid Project Names
MyProject-1 //dash can not be between letter and digit
My_Project //underscore is restricted