question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warning when using ngx-translate v6.0.0-beta.1 with Ionic v2.0.0

See original GitHub issue

When 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:closed
  • Created 7 years ago
  • Comments:8

github_iconTop GitHub Comments

0reactions
fiznoolcommented, Feb 21, 2017

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found