angular2-notifications icon indicating copy to clipboard operation
angular2-notifications copied to clipboard

Module build failed error with angular2-notifications in typescript compilation after upgrade to angular 5.2.

Open aliantjamaica opened this issue 5 years ago • 0 comments

Hi .....I have the following installed angular2-notifications 0.7.8 with:

Angular CLI: 1.7.4 Node: 8.11.4 OS: win32 x64 Angular: 5.2.0 ....up from 4.5 ... animations, common, compiler, compiler-cli, core, forms ... http, material, platform-browser, platform-browser-dynamic ... platform-server, router

@angular/cdk: 5.2.5 @angular/cli: 1.7.4 @angular-devkit/build-optimizer: 0.3.2 @angular-devkit/core: 0.3.2 @angular-devkit/schematics: 0.3.2 @ngtools/json-schema: 1.1.0 @ngtools/webpack: 1.10.2 @schematics/angular: 0.3.2 @schematics/package-update: 0.3.2 typescript: 2.6.1 ....up from 2.4.2 webpack: 3.11.0

when I attempt a --prod build I am getting this error: ERROR in ./node_modules/angular2-notifications/src/push-notifications.module.ts Module build failed: Error: C:\coderepo\puppydog\puppydog\node_modules\angular2-notifications\src\push-notifications.module.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.

I don't want go to angular2-notifications 2.0 since it has more breaking changes. I have tried ver 1.0.0 and got errors also. How can I solve this problem?

aliantjamaica avatar Jan 19 '19 15:01 aliantjamaica