Warning when using ngx-translate v6.0.0-beta.1 with Ionic v2.0.0
See original GitHub issueWhen installing the newest ngx-translate
beta into an Ionic 2 environment, the following npm warning is issued:
warning "@ngx-translate/core@6.0.0-beta.1" has incorrect peer dependency "@angular/core@^2.3.0".
The same thing happens when installing the new http-loader:
warning "@ngx-translate/http-loader@0.0.2" has incorrect peer dependency "@angular/core@>=2.3.0 || >=4.0.0-beta.0".
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?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
ngx-translate for ionic v6 swipe back - angular - Stack Overflow
I am using ngx-translate library for ionic v6. It all works ok only for one issue. When language is changed, and press back...
Read more >@ngx-translate/core - npm
I'm still using Angular with beta / RC / 2.0 to 2.2, but I cannot use ngx-translate because I get errors?! ... I'm...
Read more >How To Use ngx-translate with Angular - DigitalOcean
Learn how to use the ngx-translate library to internationalize (i18n) your Angular apps with ease.
Read more >@ngx-translate/core - Awesome JS
rename: the library has been renamed ngx-translate following the new official naming convention (you should not use the version number for angular libraries, ......
Read more >Using ngx-translate - Ionic Framework
To translate any JavaScript values in the application, like the title of an alert, the TranslateService provides a get observable. translateService.get('HELLO') ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See https://github.com/ngx-translate/http-loader/pull/1
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?