Amit
Amit

Reputation: 323

[email protected] with angular 5 giving warning for angular common and core

I have installed the ngx-bootstrap as per the getting started documentation https://valor-software.com/ngx-bootstrap/#/getting-started

https://github.com/valor-software/ngx-bootstrap/blob/development/docs/getting-started/ng-cli.md

Current project I am using angular 5 version, But I am getting below warning

[WARNING] npm WARN [email protected] requires a peer of @angular/common@>=6.0.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN [email protected] requires a peer of @angular/core@>=6.0.0 but none is installed. You must install peer dependencies yourself.

Here it is showing the peer dependency as https://david-dm.org/valor-software/ng2-bootstrap?type=peer

How I can resolve the this ? Shall I downgrade the the ngx-bootstrap version ? or with current version can be able to resolve.

Thanks

Upvotes: 1

Views: 2194

Answers (1)

Shanil Arjuna
Shanil Arjuna

Reputation: 1135

You have to use ngx-bootstrap 2.0.2 which supports angular v5.

Demo is also provided: https://ngx-bootstrap-latest.surge.sh/#/

Upvotes: 2

Related Questions