ng new app-name angular cli 6.0.4 时出现问题 [英] Issue while ng new app-name angular cli 6.0.4

查看:23
本文介绍了ng new app-name angular cli 6.0.4 时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用 npm install -g @angular/cli 安装了 angular cli 6.0.4 并且当我尝试使用此命令创建新项目时 ngnew 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).

我该如何解决这个问题?

How can I fix this?

推荐答案

Looks like the new 6.0.5 version fixed this issue

更多信息

这篇关于ng new app-name angular cli 6.0.4 时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆