François Flahaux
François Flahaux

Reputation: 41

ng-bootstrap and Angular 5 compatibility

Was ng-bootstrap already tested with Angular 5 and is it compatible ?

If not, any compatible ng-bootsrap angular 5 release planned ?

Thanks !

Upvotes: 4

Views: 3736

Answers (3)

Bastien
Bastien

Reputation: 634

There is a pull request to add angular 5 support for ng-bootstrap.

I hope it will be released soon.

UPDATE:

It's now released: https://github.com/ng-bootstrap/ng-bootstrap/blob/master/CHANGELOG.md#100-beta7-2017-12-08

Upvotes: 7

Bjarne Gerhardt-Pedersen
Bjarne Gerhardt-Pedersen

Reputation: 1144

UPDATE: I was not aware that there was a difference between ng-bootstrap and @ng-bootstrap on NPMjs. Of course @ng-bootstrap is what you are talking about, and this is currently dependent on Angular 4.


OLD ANSWER

ng-bootstrap is dependent on Angular 4.

I suggest moving to ngx-bootstrap (ng-bootstrap name change to 'x') that will support all future versions of Angular.

My reference is from the NPMjs page for ng-bootstrap writing that ng-bootstrap package changed name to ngx-bootstrap.

Upvotes: -1

Tzach Solomon
Tzach Solomon

Reputation: 798

I don't think ng-bootstrap is supported with Angular 5 yet, this is what I got creating a new app

Tzachs-MBP:src tzachs$ npm install --save @ng-bootstrap/ng-bootstrap
[email protected] /Users/tzachs/personal/login/ng4fbbootstrap
+-- UNMET PEER DEPENDENCY @angular/[email protected]
+-- UNMET PEER DEPENDENCY @angular/[email protected]
+-- UNMET PEER DEPENDENCY @angular/[email protected]
`-- @ng-bootstrap/[email protected]

npm WARN @ng-bootstrap/[email protected] requires a peer of @angular/core@^4.0.3 but none was installed.
npm WARN @ng-bootstrap/[email protected] requires a peer of @angular/common@^4.0.3 but none was installed.
npm WARN @ng-bootstrap/[email protected] requires a peer of @angular/forms@^4.0.3 but none was installed.

Upvotes: 0

Related Questions