Core: ionic and ng2-translate

Created on 18 Aug 2016  路  4Comments  路  Source: ngx-translate/core

an error occurred when trying to implement ng2-translate with ionic2 - reason missmuch of angular version.

the error:
TypeScript error: C:/code/.../node_modules/ng2-translate/ng2-translate.d.ts(1,10): Error TS2305: Module "C:/code/../node_modules/@angular/core/index"
has no exported member 'ModuleWithProviders'

please provice in your md file how to get an older version of you module

tnx

TODO docs

Most helpful comment

Ionic 2 is still on angular 2 RC4, and ng2-translate requires RC5 (with the new ng modules).
You should fix the version of ng2-translate to 2.2.2 until you can upgrade angular

All 4 comments

Ionic 2 is still on angular 2 RC4, and ng2-translate requires RC5 (with the new ng modules).
You should fix the version of ng2-translate to 2.2.2 until you can upgrade angular

Perfect right! :dancers:

I'll add a note to the readme tomorrow :)

I just added an example folder with an ionic 2 example, hope this helps !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

briancullinan picture briancullinan  路  3Comments

jellene4eva picture jellene4eva  路  3Comments

crebuh picture crebuh  路  3Comments

pndewit picture pndewit  路  3Comments

webprofusion-chrisc picture webprofusion-chrisc  路  4Comments