• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: bootstrap installation in angular 14 fail

Resolved: bootstrap installation in angular 14 fail

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I wanted to install Bootstrap in Angular 14 using “ng add @ng-bootstrap/ng-bootstrap” but I get an error in PhpStorm IDEA. What should I do?
Error
Error

Answer:

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)

If you have better answer, please add a comment about this, thank you!

angular angular-ui-bootstrap bootstrap-4 npm
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: How to scroll bottom of div at launch?

02/04/2023

Resolved: how to get and read an xml file in a zip file using xml.etree

02/04/2023

Resolved: The ‘Access-Control-Allow-Origin’ header contains multiple values ‘*, *’, but only one is allowed. cors error not resolving

02/04/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.