Is it possible to add ngx-pinch-zoom to an Angular 14 project?
I encountered a peer dependency conflict when trying to install pinch-zoom with --legacy-peer-deps, which worked in the project but failed in the ci/cd pipeline due to the conflict.
I attempted to install both ngx-pinch-zoom and ngx-pinch-zoom-13, but it appears that there is no specific version of ngx-pinch-zoom for Angular 14. Am I overlooking something?
npm ERR! Found: @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d3b0bcbebebcbd93e2e7fde2fde0">[email protected]</a>
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"^14.1.0" from the root project
npm ERR! peer @angular/common@"^14.0.0 || ^15.0.0" from @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="187b7c7358292c3629362a">[email protected]</a>
npm ERR! node_modules/@angular/cdk
npm ERR! @angular/cdk@"^14.1.2" from the root project
npm ERR! peer @angular/cdk@"14.1.2" from @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="c8a5a9bcadbaa1a9a488f9fce6f9e6fa">[email protected]</a>
npm ERR! node_modules/@angular/material
npm ERR! @angular/material@"^14.1.1" from the root project
npm ERR! 7 more (@angular/forms, @angular/material, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"~13.2.1" from <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f29c958adf829b9c919adf889d9d9fdfc3c1b2c0dcc7dcc4">[email protected]</a>
npm ERR! node_modules/ngx-pinch-zoom-13
npm ERR! ngx-pinch-zoom-13@"^2.5.6" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f2919d9f9f9d9cb2c3c1dcc0dcc5">[email protected]</a>
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"~13.2.1" from <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="c8a6afb0e5b8a1a6aba0e5b2a7a7a5e5f9fb88fae6fde6fe">[email protected]</a>
npm ERR! node_modules/ngx-pinch-zoom-13
npm ERR! ngx-pinch-zoom-13@"^2.5.6" from the root project