npm 为Angular 15安装最新(第10版)的ngx-bootstrap

6bc51xsx  于 2022-12-13  发布在  Angular
关注(0)|答案(1)|浏览(278)

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:

eresolve-report.txt:

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

h43kikqp

h43kikqp1#

此时,ngx-bootstrap@最新版本是9.0.0,10.0.0版本是@下一个版本。
此外,版本10仍然具有Angular 14的peerDependencies(可能不是有意的),因此如果没有--force或--legacy-peer-deps,则无法安装它。https://www.npmjs.com/package/ngx-bootstrap/v/10.0.0?activeTab=explore

相关问题