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

Angular 6 #11

Open
Exlord opened this issue Oct 20, 2018 · 5 comments
Open

Angular 6 #11

Exlord opened this issue Oct 20, 2018 · 5 comments

Comments

@Exlord
Copy link
Contributor

Exlord commented Oct 20, 2018

runnig this command ng update @angular/material, gives this error :

Package "ng2-izitoast" has an incompatible peer dependency to "@angular/core" (requires ">=5.0.0 <6.0.0" (extended), would install "7.0.0").

what does this mean and how can i fix it?

+Angular7

@kapsrox
Copy link

kapsrox commented Oct 23, 2018

try to update @angular/material with specific version which belongs to angular 6

@Exlord
Copy link
Contributor Author

Exlord commented Oct 23, 2018

its not related to @angular/material, any ng update X will throw this error because

"@angular/core": ">=5.0.0 <6.0.0"

@Exlord
Copy link
Contributor Author

Exlord commented Oct 23, 2018

I have tested with angular 7 and it works fine, created a pull request #12

@vugar005
Copy link

It is because the plugin uses angular @angular/core" (requires ">=5.0.0 <6.0.0" as a dependency.
Solution

  1. We need to modify plugin dependency to >=5.0.0 <7.0.0"
  2. Or you can remove the plugin upgrade the angular to 7.0 and reinstall plugin.
    Hope that helps.

@kapsrox
Copy link

kapsrox commented Dec 11, 2018

yes as per vugar005 commented you will get the solution

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

3 participants