Ng bootstrap does not install on angular 13

Viewed 698

When I update angular 12 to 13, "ng add @ng-bootstrap/ng-bootstrap" command does not work & gives me an error like this,

So how to solve this error? thanks

3 Answers

run following command first

npm config set legacy-peer-deps true

then install ng-bootstrap

npm i @ng-bootstrap/ng-bootstrap

this did work for me.

Related