How to resolve Bower dependency version conflicts?
问题 I have a project that depends on both: jquery ~1.9.1 another project which in turn depends on jquery >=1.7.2 But when I run bower install , it ends up installing jquery 2.0.2. This seems broken. How do I either (a) make it correctly solve the constraints or (b) explicitly force a final version to be installed (workaround)? 回答1: You can add resolutions to the object in your bower.json file and specify the component name & version to automatically resolve the conflict when running bower