The latest stable version of @ng-bootstrap/ng-bootstrap
which today 6/16/2022 is 12.1.2 is designed for Angular 13.
The error you are seeing is due to the fact they have a peerDependecy to Angular 13 in their library.
According to this issue https://github.com/ng-bootstrap/ng-bootstrap/issues/4340 they are currently working on releasing a new version that supports Angular 14. At this time you might get be able to install ng-bootstrap@next
(which is version 13.0.0-beta.1
that's designed for Angular 14)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.