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
I added this flag to make it work --client-project
ng add @nguniversal/express-engine --client-project=launcher
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With