iUbaid
iUbaid

Reputation: 321

Why some dependencies are not able to install using npm but instead bower and vice versa

I tried to install "angular-jk-carousel" with npm and its not getting installed but with bower it works as expected.

but in official document of "angular-jk-carousel" it is mentioned that it can be install with both either npm or bower.

I tried to run npm install angular-jk-carousel and below was the output

[email protected] /home/ubaid/Expertflow/ccadmin ├── UNMET PEER DEPENDENCY
                           angular@^1.2.0 ├── [email protected] 
                                          └── UNMET PEER DEPENDENCY jquery@>=1.8.0

Check the link : https://github.com/juank11memphis/angular-jk-carousel

Upvotes: 3

Views: 149

Answers (1)

Fernando Paz
Fernando Paz

Reputation: 623

Npm no longer install peer dependencies.

Try to install them manually. Something like:

npm install angular

npm install jquery

Check this answer

Hope it help you.

Upvotes: 1

Related Questions