Circleci无法通过bower安装 - ECONFLICT无法找到合适的版本

时间:2015-11-21 11:56:08

标签: angularjs dependencies bower circleci

Circleci因此错误而失败 ECONFLICT Unable to find suitable version for angular

这些是我在bower.json

中的依赖项
  "dependencies": {
    "angular": "1.4.7",
    "angular-animate": "1.4.7",
    "angular-credit-cards": "2.3.5",
    "angular-local-storage": "0.2.2",
    "angular-messages": "1.4.7",
    "angular-sanitize": "1.4.7",
    "angular-translate": "2.7.2",
    "angular-ui-router": "0.2.15",
    "bluebird": "2.9.34",
    "bourbon": "4.2.6",
    "immutable": "3.7.5",
    "neat": "1.7.2",
    "normalize-scss": "3.0.3",
    "ramda": "0.16.0",
    "rxjs": "2.5.2",
    "system.js": "0.19.6",
    "angular-markdown-directive": "0.3.1",
    "angularjs-geolocation": "0.1.1",
    "angulartics": "0.20.2",
    "angulartics-google-analytics": "0.1.2",
    "angulartics-facebook-pixel": "0.1.0"
  },
  "resolutions": {
    "angular": "1.4.7"
  }

我尝试在本地运行它并且工作正常,不确定是什么问题。任何帮助将不胜感激

1 个答案:

答案 0 :(得分:0)

添加

"ignoredDependencies": ["angular"]

到您的bower.cc文件中它将忽略依赖性(但您必须确保该程序包与您的角度版本一起使用)。