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

149 Views Asked by At

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

1

There are 1 best solutions below

0
Fernando Paz On

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.