Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bower dependency problem #20

Open
mgussekloo opened this issue Jul 7, 2014 · 2 comments
Open

Bower dependency problem #20

mgussekloo opened this issue Jul 7, 2014 · 2 comments

Comments

@mgussekloo
Copy link

Hi. I've noticed some weird behaviour and I think it may be related to your bower.json file.

My Bower project depends on jQuery ~1.11, but easyModal depends on jQuery >=1.7. This results in the latest jQuery being installed (v 2.x). Manually adding resolutions to my bower.json file doesn't work, and I think it may be because EasyModal has jQuery with a capital Q. (?) Most projects seem to use lowercase "jquery".

@ciryon
Copy link

ciryon commented Mar 23, 2016

I think I run into the same problem. Here's how to reproduce:

bower init; bower install easyModal --save; bower install jquery --save
then do
rm -rf bower_components; bower install

and it fails with a malformed bower_components/jquery/.bower.json(error message visible second time running bower install)

@gyula-s
Copy link

gyula-s commented Oct 8, 2018

To fix the malformed json issue, edit the easyModal bower file, and replace jQuery with jquery. It will work fine after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants