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.
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
Make an Angular App using version 15.2.0
try ng add @ui5/webcomponents-ngx
Context
UI5 Web Components for Angular version: 0.1.0
Angular Version:15.2.0
OS/Platform: Windows
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!
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
Context
Log Output / Stack Trace / Screenshots
Priority