I installed latest Angular 6.0.4 in MAC, when I enter in terminal:
ng new happiness
display:
Schematic input does not validate against the Schema: {"dryRun":false,"version":"6.0.4","skipGit":false,"skipInstall":false,"linkCli":false,"commit":true,"newProjectRoot":"projects","inlineStyle":false,"inlineTemplate":false,"routing":false,"prefix":"app","style":"css","skipTests":false} Errors:Data path "" should NOT have additional properties(dryRun).
Anyone can tell me? Thanks a lot
Maybe Angular 6.0.5 version
npm update
npm uninstall -g @angular/cli
npm cache verify
npm install -g @angular/[email protected]
ng new --name my-app
Another thread is same: Issue while ng new app-name angular cli 6.0.4
Can you try following:
ng update @angular/cli --migrate-only --from=1.7.4
there was an issue. You can find here.
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