为什么不能生成Angular组件?

时间:2020-10-18 20:19:25

标签: javascript node.js angular typescript nativescript

我从八月开始了一个项目,当时我可以创建组件。但是,现在当我尝试生成Angular组件时,会收到此错误

Option "entryComponent" is deprecated: Since version 9.0.0 with Ivy, entryComponents is no longer necessary.
Cannot read property 'kind' of undefined

我正在使用Angular 10和NativeScript 7

Angular CLI: 10.1.7
Node: 10.22.0
OS: darwin x64

Angular: 10.1.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1001.7
@angular-devkit/build-angular   0.1001.7
@angular-devkit/core            10.1.7
@angular-devkit/schematics      10.1.7
@angular/cdk                    10.2.5
@angular/cli                    10.1.7
@angular/material               10.2.5
@schematics/angular             10.1.7
@schematics/update              0.1001.7
rxjs                            6.6.3
typescript                      3.9.7

0 个答案:

没有答案