ng新的应用名称cli 6.0.4时发出 [英] Issue while ng new app-name angular cli 6.0.4
本文介绍了ng新的应用名称cli 6.0.4时发出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经使用npm install -g @angular/cli
安装了cli cli 6.0.4
,并且当我尝试使用此命令ng new my-first-app
创建新项目时,抛出了以下错误:
I have installed angular cli 6.0.4
using npm install -g @angular/cli
and when I try to create a new project using this command ng new my-first-app
It's throwing the following error:
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).
我该如何解决?
推荐答案
Looks like the new 6.0.5 version fixed this issue
这篇关于ng新的应用名称cli 6.0.4时发出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文