我使用6.0.4
安装了角度cli npm install -g @angular/cli
,当我尝试使用此命令创建一个新项目ng new my-first-app
时,它会抛出以下错误:
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).
我该如何解决这个问题?