在使用“ Nx Migrate”中从Angular 13升级到NX工作区中的Angular 13升级后产生Angular组件的错误
需要帮助...
在升级Angular 13到14之后开始遇到此类错误
不确定为什么我使用 nx Migrate
我无法生成Angular Component
。使用 NX GC组件名称
InvalidInputOptions [Error]: Schematic input does not validate against the Schema: {"style":"scss","skipTests":true,"skipImport":true,"path":"libs/fisendo-web/staycation/ui/staycation-components/src/lib/components/property-content","project":"fisendo-web-staycation-ui-staycation-components","name":"component-name","displayBlock":false,"inlineStyle":false,"inlineTemplate":false,"changeDetection":"Default","flat":false,"skipSelector":false,"type":"component","export":false}
Errors:
Data path "" must NOT have additional properties(standalone).
at MapSubscriber.project (***\***\node_modules\@angular-devkit\schematics\tools\schema-option-transform.js:30:27)
at MapSubscriber._next (***\***\node_modules\@angular-devkit\schematics\node_modules\rxjs\internal\operators\map.js:49:35)
...
...
at ThrowIfEmptySubscriber._next (***\***\node_modules\@angular-devkit\schematics\node_modules\rxjs\internal\operators\throwIfEmpty.js:44:26) {
errors: [
{
instancePath: '',
schemaPath: '#/additionalProperties',
keyword: 'additionalProperties',
params: [Object],
message: 'must NOT have additional properties'
}
]
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从
@angular/ /a>
到最新(v7.4.1),我现在可以创建组件。我从。
This is so weird, after I upgraded from
@angular/[email protected]
to latest (v7.4.1) it seems that I can create components now.I got the idea of upgrading
@angular/fire
from here.