启用Angular 9 Ivy会抛出错误
我已将我的应用程序更新为Angular 9。当我禁用ivy时,我可以运行该应用程序。但当我启用常春藤获取错误时启用Angular 9 Ivy会抛出错误,angular,npm,ivy,angular9,renderer,Angular,Npm,Ivy,Angular9,Renderer,我已将我的应用程序更新为Angular 9。当我禁用ivy时,我可以运行该应用程序。但当我启用常春藤获取错误时错误NG6002: 错误日志- 32 export class FooterModule { } ~~~~~~~~~~~~ src/app/core/ncpapp.core.module.ts:30:14 - error NG6002: Appears in the NgModule.imports of ScreenEditorModule, but itse
错误NG6002:
错误日志-
32 export class FooterModule { }
~~~~~~~~~~~~
src/app/core/ncpapp.core.module.ts:30:14 - error NG6002: Appears in the NgModule.imports of
ScreenEditorModule, but itself has errors
30 export class CoreModule {
~~~~~~~~~~
src/app/core/ncp-forms/ncp.forms.module.ts:19:14 - error NG6002: Appears in the NgModule.imports of
ScreenEditorModule, but itself has errors
19 export class NCPFormModule { }
~~~~~~~~~~~~~
node_modules/ngx-jsoneditor/jsoneditor.module.d.ts:[93m5:22 - error NG6002: Appears in the
NgModule.imports of ScreenEditorModule, but could not be resolved to an NgModule class.
This likely means that the library (ngx-jsoneditor) which declares JSONEditorModule has not been
processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the
library is available, and update if so. Also consider checking with the library's authors to see if
the library is expected to be compatible with Ivy.
我试图卸载库ngxjsoneditor
并重新安装,但仍然遇到同样的问题
我做了npm缓存清理--force
和npm安装
,但结果是一样的
我缺少什么吗?安装与ivy兼容的较新版本的ngx jsoneditor