I got error when
ng build --prod
my MEAN Stack App. On my console return :
ERROR in : Unexpected value 'FlashMessageModule in C:/mean/angular/node_modules/angular-flash-message/dist/flash-message.module.d.ts' imported by the module 'AppModule in C:/mean/angular/src/app/app.module.ts'. Please add a @NgModule annotation.
This is my flash-message.module.d.ts file :
export declare class FlashMessageModule {
}
How to fix that?