-
-
Notifications
You must be signed in to change notification settings - Fork 578
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 when using ngx-translate v6.0.0-beta.1 with Ionic v2.0.0 #421
Comments
I did that because of this note in angular/angular 2.3.1:
But after reading the note again, and asking confirmation to the angular team, it just means that you shouldn't use 2.3.0 to compile. Since it has been fixed in 2.3.1 you can compile your lib again and it should work with all versions. I'll publish a new beta later today. |
Could you do the same for |
It should be fixed, thanks @fiznool ! |
The project I'm currently working on is on Angular 2.0.1. Apparently this has to do with the Angular compiler (http://stackoverflow.com/a/41444599). If this is truly the case than this has to be reversed I guess? Cross referencing #386 |
Could you share your package.json?
Another answer to that question suggests that all additional angular
dependencies should also be pinned to the same version, I'm wondering if
that could be the issue?
http://stackoverflow.com/a/41775814
|
No peer deps. |
That's a lot of dependencies!
You could safely update all your angular dependencies to 2.3.1 or higher
and everything would start to work I think?
|
When installing the newest
ngx-translate
beta into an Ionic 2 environment, the following npm warning is issued:The same thing happens when installing the new http-loader:
This is because Ionic 2 apps use Angular 2.2.1.
Is there a specific need to have a peerDependency of Angular 2.3.0+ or could it be relaxed to 2.2.1 for better compatibility with Ionic 2?
The text was updated successfully, but these errors were encountered: