原理图输入未针对Schema进行验证:Angular 7上的{“name”:“te
发布时间:2020-12-17 17:34:46 所属栏目:安全 来源:网络整理
导读:我在Mac OS上将Angular CLI更新为最新的@ angular / cli @ 7.0.2.发出命令ng new testng7时,我收到此错误: Schematic input does not validate against the Schema: {"name":"testng7"}Errors: Data path "" should have required property 'version'. 什么
我在Mac OS上将Angular CLI更新为最新的@ angular / cli @ 7.0.2.发出命令ng new testng7时,我收到此错误:
Schematic input does not validate against the Schema: {"name":"testng7"} Errors: Data path "" should have required property 'version'. 什么也没有创造.任何线索如何解决? 解决方法
此错误可能会避免命名标准
项目名称不能有下划线’_’.它可以有短划线’ – ‘,小写和大写字母和数字. 有效的项目名称 myProject //camel casing style or JavaScript style MyProject //normal style MyProject1 //letters and numbers mixed style My-Project1 //letters,numbers and dash mixed style 项目名称无效 MyProject-1 //dash can not be between letter and digit My_Project //underscore is restricted (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容