I just upgraded to Angular 7 and I get the following error when trying to create a new project:
Schematic input does not validate against the Schema: {"name":"test"} Errors: Data path "" should have required property 'version'.
Angular CLI: 7.3.4
Node: 10.15.2
OS: darwin x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.13.4
@angular-devkit/core 7.3.4
@angular-devkit/schematics 7.3.4
@schematics/angular 7.3.4
@schematics/update 0.13.4
rxjs 6.3.3
typescript 3.2.4
MacBook-Pro-de-Pastor:~ pacozevallos$ ng new test
Schematic input does not validate against the Schema: {"name":"test"}
Errors:
Data path "" should have required property 'version'.
MacBook-Pro-de-Pastor:~ pacozevallos$
After having updated Angular 7 I reinstalled it with the following commands:
npm uninstall -g @angular/cli (add sudo in the start if using Linux)
npm cache clean --force / npm cache verify
npm install -g @angular/cli
But this last one did not work either.
Any ideas?