angularnpmngx-bootstrap

Install lastest (10th) version of ngx-bootstrap for Angular 15


Official website says that 10th ngx-boostrap is compatible with 15th Angular:

https://valor-software.com/ngx-bootstrap/#/documentation#getting-started

Angular (14.x.x - 15.x.x) ngx-bootstrap (10.0.0)

But when I attempt to install it (npm install ngx-bootstrap@latest) I take an error: enter image description here

eresolve-report.txt:

enter image description here

Am I installing it in a wrong way? Or how there could be unresolved dependency in packages that should be compatible?


Solution

  • At this moment, ngx-bootstrap@latest is 9.0.0, 10.0.0 is @next.

    Additionally version 10 still has peerDependencies for Angular 14 (probably not intentionally), so it can't be installed without --force or --legacy-peer-deps. https://www.npmjs.com/package/ngx-bootstrap/v/10.0.0?activeTab=explore