rbalet / ngx-translate-multi-http-loader

A loader for ngx-translate that loads translations with http calls
MIT License
75 stars 15 forks source link

Fail the dependency on RXJS #22

Closed michele-cassani closed 1 year ago

michele-cassani commented 1 year ago

Trying to install the package using the command:

npm install ngx-translate-multi-http-loader --save

npm ERR! Could not resolve dependency:
npm ERR! peer rxjs@"7.5.7" from ngx-translate-multi-http-loader@9.2.0
npm ERR! node_modules/ngx-translate-multi-http-loader
npm ERR!   ngx-translate-multi-http-loader@"*" from the root project

The installation fail because of the rxjs dependancy that require only the version 7.5.7 and not others (for example fail with the last release)

...
"dependencies": {
    "@angular-architects/module-federation": "15.0.2",
    "@angular/animations": "15.0.2",
    "@angular/common": "15.0.2",
    "@angular/compiler": "15.0.2",
    "@angular/core": "15.0.2",
    "@angular/fire": "7.5.0",
    "@angular/forms": "15.0.2",
    "@angular/platform-browser": "15.0.2",
    "@angular/platform-browser-dynamic": "15.0.2",
    "@angular/router": "15.0.2",
    "@ckeditor/ckeditor5-angular": "4.0.0",
    "@ckeditor/ckeditor5-build-classic": "35.3.2",
    "@fortawesome/angular-fontawesome": "0.12.0",
    "@fortawesome/fontawesome-svg-core": "6.2.1",
    "@fortawesome/free-brands-svg-icons": "6.2.1",
    "@fortawesome/free-regular-svg-icons": "6.2.1",
    "@fortawesome/free-solid-svg-icons": "6.2.1",
    "@mwn/commons": "1.0.0",
    "@mwn/firebase": "1.0.0",
    "@mwn/iam": "1.0.0",
    "@mwn/ui": "1.0.0",
    "@ngrx/effects": "15.0.0",
    "@ngrx/store": "15.0.0",
    "@ngx-translate/core": "14.0.0",
    "@ngx-translate/http-loader": "7.0.0",
    "@popperjs/core": "2.11.6",
    "bootstrap": "5.2.3",
    "firebase": "9.14.0",
    "moment": "2.29.4",
    "mwn-angular-schematics": "^0.0.0",
    "rxjs": "7.6.0",
    "tslib": "2.4.1",
    "uuid": "9.0.0",
    "zone.js": "0.12.0"
  }
...
rbalet commented 1 year ago

@michele-cassani Thx for the issue,

Can you test this ? https://github.com/rbalet/ngx-translate-multi-http-loader/releases/tag/v9.2.1

Feel free to reopen the issue if it didn't fixed your problem

michele-cassani commented 1 year ago

@michele-cassani Thx for the issue,

Can you test this ? https://github.com/rbalet/ngx-translate-multi-http-loader/releases/tag/v9.2.1

Feel free to reopen the issue if it didn't fixed your problem

Tested and now is fixed, Thanks!