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

Warning: Can't resolve all parameters for ToasterConfig #241

Open
msalmankarim opened this issue Sep 15, 2021 · 2 comments
Open

Warning: Can't resolve all parameters for ToasterConfig #241

msalmankarim opened this issue Sep 15, 2021 · 2 comments

Comments

@msalmankarim
Copy link

I recently updated the library from version 7.0.0 to latest version 11.0.1. Everything seems to work fine and all the toasts are working as they should but when I create production build I am getting a warning:

Warning: Can't resolve all parameters for ToasterConfig in D:/......../node_modules/angular2-toaster/angular2-toaster.d.ts: (?). This will become an error in Angular v6.x

My angular version is:

Angular CLI: 9.1.15
Node: 14.16.1
OS: win32 x64

Angular: 9.1.9
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: Yes

Package Version

@angular-devkit/architect 0.901.9
@angular-devkit/build-angular 0.901.9
@angular-devkit/build-optimizer 0.901.9
@angular-devkit/build-webpack 0.901.9
@angular-devkit/core 9.1.9
@angular-devkit/schematics 9.1.15
@angular/cdk 9.2.4
@angular/cli 9.1.15
@angular/material 9.2.4
@ngtools/webpack 9.1.9
@schematics/angular 9.1.15
@schematics/update 0.901.15
rxjs 6.5.5
typescript 3.8.3
webpack 4.42.0

@msalmankarim
Copy link
Author

Any update?

@nosovk
Copy link

nosovk commented Dec 27, 2021

It seems that you just missed updating some part of configs during update.

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

2 participants