'Error while installing ng-bootstrap in angular v-13
Throwing the below error while trying to install ng-bootstrap in angular version 13
These are the other details respective to the node, npm and os
Angular CLI: 13.0.2, Node: 16.13.0, Package Manager: npm 8.1.0, OS: darwin x64
Found a similar question here Error when installing ng add @ng-bootstrap/ng-bootstrap and tried to use the solution given in the answers, but doesn't work for me.
Much appreciate any help with this problem.
Solution 1:[1]
Try this
ng add @ng-bootstrap/ng-bootstrap --legacy-peer-deps
Solution 2:[2]
This fixed the issue for me
npm config set legacy-peer-deps true
which means it allows installing legacy packages.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Kibé M.C |
Solution 2 | I'm nidhin |