Base solution for your next web application
Open Closed

DevExpress Reporting into ASPZERO - Error: node_modules/devexpress-reporting-angular/dx-report-viewer/dx-report-viewer.component.d.ts:13:22 - error NG6002: Appears in the NgModule.imports of SampleReportModule, but could not be resolved to an NgModule clas #10847


User avatar
0
pliaspzero created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 10.5
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

We try to integrate DevExpress Reporting into ASPZERO - but with no luck We folowed this guide https://docs.aspnetzero.com/en/aspnet-core-angular/latest/DevExpress-Reporting-Implementation-Angular

We get this error: We try it with test version for 30-Days of DevExpress Error: node_modules/devexpress-reporting-angular/dx-report-viewer/dx-report-viewer.component.d.ts:13:22 - error NG6002: Appears in the NgModule.imports of SampleReportModule, but could not be resolved to an NgModule class.

This likely means that the library (devexpress-reporting-angular) which declares DxReportViewerComponent 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.

After npm start ; yarn.lock node_modules deleted and yarn made


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @pliaspzero

    I'm not sure if this is related to AspNet Zero or not. Specific version of DevExpress might have problems. Could you try disabling Ivy in angular.json if you haven't solved this problem ?