I got the following error after installed this package and import ReportViewerModule in app.module.ts :
ERROR in app.3c65f7fb04c200f44b2c.js from UglifyJs
Unexpected token: name (ReportViewerComponent) [app.3c65f7fb04c200f44b2c.js:122241,6]
`import { BrowserModule } from '@angular/platform-browser';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { AppComponent } from './app.component';
import { ReportViewerModule } from 'ngx-ssrs-reportviewer';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
ReportViewerModule <- (Problem here): If I remove this line, I can run "npm start" with no error!
],
providers: [],
bootstrap: [AppComponent],,
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class AppModule { }`
I got the following error after installed this package and import ReportViewerModule in app.module.ts :
`import { BrowserModule } from '@angular/platform-browser'; import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { AppComponent } from './app.component'; import { ReportViewerModule } from 'ngx-ssrs-reportviewer';
@NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, ReportViewerModule <- (Problem here): If I remove this line, I can run "npm start" with no error! ], providers: [], bootstrap: [AppComponent],, schemas: [CUSTOM_ELEMENTS_SCHEMA] }) export class AppModule { }`
Anyway to fix this issue? Thank you in advance.