数据路径“"不应该有额外的属性(dryRun) [英] Data path "" should NOT have additional properties(dryRun)
本文介绍了数据路径“"不应该有额外的属性(dryRun)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 MAC 中安装了最新的 Angular 6.0.4,当我进入终端时:
I installed latest Angular 6.0.4 in MAC, when I enter in terminal:
ng new happiness
显示:
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).
谁能告诉我?非常感谢
推荐答案
也许是 Angular 6.0.5 版本
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
另一个线程是相同的:开发新应用程序时的问题-命名角度cli 6.0.4
这篇关于数据路径“"不应该有额外的属性(dryRun)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文