ECONFLICT Unable to find suitable version for jquery Foundation

前端 未结 3 444
轮回少年
轮回少年 2020-12-29 06:20

I am trying to install Foundation but its continuously giving me conflict with Jquery

λ bower install foundation
bower foundation#x              cached https         


        
3条回答
  •  孤城傲影
    2020-12-29 07:05

    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.

提交回复
热议问题