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

    Hello,

    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';
    [/b]
    import { AppRoutingModule } from './app-routing.module';
    import { AppComponent } from './app.component';
    
    @NgModule({
      declarations: [
        AppComponent
      ],
      imports: [
       [b] DataViewModule,[/b]
        BrowserModule,
        AppRoutingModule
      ],
      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

    Hi,

    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

  • Posted 28 December 2022, 4:12 am EST

    Hi,

    Do you have any updates about this issue?

    Regards

  • Posted 2 January 2023, 3:54 pm EST

    Hi,

    Sorry for delayed response. The issue has been fixed in the latest release. Please update to the latest build and let me know if you still face any issues.

    Regards,

    Avinash

  • Posted 5 December 2023, 4:02 am EST - Updated 5 December 2023, 4:07 am EST

    Still doesn’t work, Angular 15

Need extra support?

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

Learn More

Forum Channels