Romanchuk / angular-i18next

angular v10+ integration with i18next v19.4+
MIT License
131 stars 33 forks source link

Support i18next v22 #99

Closed ellyxc closed 1 year ago

ellyxc commented 1 year ago

Currently the angular lib only support version below 22.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: telflow-cost-panel@0.0.0
npm ERR! Found: i18next@22.0.7
npm ERR! node_modules/i18next
npm ERR!   i18next@"^22.0.7" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer i18next@">=19.5.4 <22.0.0" from angular-i18next@14.2.0
npm ERR! node_modules/angular-i18next
npm ERR!   angular-i18next@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Romanchuk commented 1 year ago

I couldn't do it earlier because they changed types... In v22.0.7 they should have fix it, so i will try it soon

Romanchuk commented 1 year ago

@ellyxc updated in angular-i18next@15.0.0-0