I am trying to install Foundation but its continuously giving me conflict with Jquery
λ bower install foundation
bower foundation#x cached https
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.
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.
Try using this for the Jquery version:
"jquery": ">= 2.0.0"
However I think you would only need Foundation as a dependency:
or:
{
"name": "PROJECT_NAME",
"dependencies": {
"foundation": "~5.4.7"
}
}
also check here for more details:
http://foundation.zurb.com/docs/sass.html