SAP / ui5-webcomponents-ngx

UI5 Web Components for Angular provides directives for each UI5 Web Component. The directives allow to easily build your Angular application following the SAP Design System.
https://ui5-webcomponents-ngx.netlify.app/
Apache License 2.0
23 stars 4 forks source link

Cannot install to Angular 15.2.0 using rxjs 7.8.0 #54

Closed gedlbauer closed 1 year ago

gedlbauer commented 1 year ago

Bug Description

Conflicting Versions, Angular 15.2.0 uses rxjs 7.8.0 while ui5-webcomponents-ngx tries to use rxjs 7.5.0. Using --legacy-peer-deps or --force does not help either.

Expected Behavior

It should be able to be installed.

Steps to Reproduce

  1. Make an Angular App using version 15.2.0
  2. try ng add @ui5/webcomponents-ngx

Context

Log Output / Stack Trace / Screenshots

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-project@0.0.0
npm ERR! Found: rxjs@7.8.0
npm ERR! node_modules/rxjs
npm ERR!   rxjs@"~7.8.0" from the root project
npm ERR!   peer rxjs@"^6.5.3 || ^7.4.0" from @angular/common@15.2.6
npm ERR!   node_modules/@angular/common
npm ERR!     @angular/common@"^15.2.0" from the root project
npm ERR!     peer @angular/common@"^15.0.0" from @ui5/webcomponents-ngx@0.1.0
npm ERR!     node_modules/@ui5/webcomponents-ngx
npm ERR!       @ui5/webcomponents-ngx@"0.1.0" from the root project
npm ERR!     2 more (@angular/forms, @angular/platform-browser)
npm ERR!   2 more (@angular/core, @angular/forms)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer rxjs@"~7.5.0" from @ui5/webcomponents-ngx@0.1.0
npm ERR! node_modules/@ui5/webcomponents-ngx
npm ERR!   @ui5/webcomponents-ngx@"0.1.0" 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.
npm ERR!

Priority

github-actions[bot] commented 1 year ago

Hello @gedlbauer, thank you for using ui5-webcomponents-ngx! The ui5-webcomponents-ngx team will triage your issue as soon as possible.

g-cheishvili commented 1 year ago

Fixing, thanks for the report