Failed to compile in Angular 11 application

Posted by: dominik.piber on 16 March 2022, 8:35 am EST

  • Posted 16 March 2022, 8:35 am EST


    I have a problem with compiling DataViewJS in my Angular 11 application.

    1. I created new application using angular cli v 11.2.18:
    ng new test-app
    1. I added dependency to dataViewJS:
    npm install @grapecity/dataviews.angular
    1. I modified app.module.ts:
    import { NgModule } from '@angular/core';
    import { BrowserModule } from '@angular/platform-browser';
    [b]import { DataViewModule } from '@grapecity/dataviews.angular';
    import { AppRoutingModule } from './app-routing.module';
    import { AppComponent } from './app.component';
      declarations: [
      imports: [
       [b] DataViewModule,[/b]
      providers: [],
      bootstrap: [AppComponent]
    export class AppModule { }
    1. I tried to compile the application:
    ng build
    1. Compilation fails with error:
    Symbol DataViewModule declared in D:/_Instalki/Angular/test-app/node_modules/@grapecity/dataviews.angular/dist/index.d.ts is not exported from @grapecity/dataviews.angular (import into D:/_Instalki/Angular/test-app/src/app/app.module.ts)
  • Posted 20 March 2022, 5:19 pm EST


    Thanks for the detailed steps. We are able to replicate the issue at our end hence we have escalated this issue to the concerned team for further investigation. We will update you regarding this as we get any information from the team. The internal ID for this issue will be JSVIEW-717.

    Regards, Avinash

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels