Data path “” should NOT have additional properties(dryRun)

  • A+
Category:Languages

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/cli@6.0.5 ng new --name my-app 

Another thread is same: Issue while ng new app-name angular cli 6.0.4

Comment

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: