Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aliantjamaica opened this issue Jan 19, 2019 · 0 comments

Comments

@aliantjamaica
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant