vdanyliv / ngx-tiny-slider

Angular wrapper for tiny-slider
https://npmjs.com/package/ngx-tiny-slider
MIT License
15 stars 18 forks source link

Angular 11 support #36

Closed m1kl closed 2 years ago

m1kl commented 3 years ago

I'm unable to install ngx-tiny-slider library on a newly created angular 11 project. The npm install command fails with the following error:

➜  app1 npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: app1@0.0.0
npm ERR! Found: @angular/common@11.2.10
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"~11.2.9" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"~9.1.1" from ngx-tiny-slider@1.0.2
npm ERR! node_modules/ngx-tiny-slider
npm ERR!   ngx-tiny-slider@"^1.0.2" 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!
npm ERR! See C:\Users\michael.pinheiro\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\michael.pinheiro\AppData\Local\npm-cache\_logs\2021-04-20T09_16_10_385Z-debug.log