ECONFLICT Unable to find suitable version for jquery Foundation ECONFLICT Unable to find suitable version for jquery Foundation javascript javascript

ECONFLICT Unable to find suitable version for jquery Foundation


Use resolutions in your bower.json

{  "name": "refactor",  "private": true,  "dependencies": {    "jquery": "~1.11.1",    "raphael": "1.3.x",    "font-awesome": "~4.3.0",    "foundation": "x"  },  "resolutions": {    "jquery": "~1.11.1"  }}

This will force bower to use that specific version of jQuery.


Best way to start with is to do

bower cache clean

After that when you do

bower install it will ask you

'Unable to find a suitable version for <Your Dependency Name>, please choose one: ,

then you can enter !1 or !2 , or whatever suits your needs the best.

This essentially adds the resolution block into bower.json as mentioned by @esbanarango but it just gives more control and understanding over what you are doing.


Try using this for the Jquery version:

"jquery": ">= 2.0.0"

However I think you would only need Foundation as a dependency:

enter image description here

or:

{    "name": "PROJECT_NAME",    "dependencies": {       "foundation": "~5.4.7"    }} 

also check here for more details:

http://foundation.zurb.com/docs/sass.html