ng-defer-load icon indicating copy to clipboard operation
ng-defer-load copied to clipboard

Angular 8 production build error

Open rajivkr opened this issue 4 years ago • 2 comments

Getting this error when I am building the app for production on angular 8. Seems to be working fine on ng serve image Any help on this. TIA

rajivkr avatar Sep 10 '20 07:09 rajivkr

I'm also facing same error

VirendraMaheta7 avatar Jul 12 '21 09:07 VirendraMaheta7

What version are you running in your application? If you've provided the module correctly in your application and have the right version number (we used version 8.1.0 in our Angular 8 Application) then this error shouldn't occur.

import { DeferLoadModule } from '@trademe/ng-defer-load';
...

@NgModule({
  declarations: [
   ...
  ],
  imports: [
    DeferLoadModule,
    CommonModule,
    ...
  ],
  providers: [...],
})
export class SharedModule { }

Rlcolli4 avatar Dec 28 '21 03:12 Rlcolli4