凉亭错误:凉亭角度分辨率不适合分辨率

时间:2016-01-23 02:22:58

标签: angularjs bower

我得到了一个失败的响应,降低角度分辨率为角度声明的不合适的分辨率:1.4.8 bower ECONFLICT无法找到合适的角度版本

我的bower.json是

{
  "name": "someet-backend",
  "version": "0.0.0",
  "private": true,
  "dependencies": {
    "angular-bootstrap": "0.14.2",
    "angular-material": "0.11.1",
    "angular-route": "1.4.7",
    "angular-local-storage": "0.2.2",
    "ng-lodash": "0.2.3",
    "ng-file-upload": "6.0.2",
    "angular-bootstrap-datetimepicker": "latest",
    "angular-messages": "1.4.7",
    "ng-tags-input": "~3.0.0",
    "angular-jquery": "~0.2.1",
    "textAngular": "v1.3.0-pre15",
    "bootstrap": "~3.3.5",
    "jquery": "~2.1.4",
    "angular": "~1.4.8",
    "moment": "~2.10.6"
  },
  "resolutions": {
    "angular": "1.4.8"
  }
}

我试图将角度降级为

"resolutions": {
  "angular": "1.4.7"
}
,
"resolutions": {
  "angular": "1.4.6"
} 
,
"resolutions": {
  "angular": "1.3.0"
}

然后返回类似的响应结果

2 个答案:

答案 0 :(得分:2)

升级angular-route,angular-messages以匹配角度版本1.4.8

答案 1 :(得分:0)

升级Dev_dependencies以及分辨率

 "devDependencies": {
    "angular-mocks": "~1.7.8",
    "angular-route": "~1.7.8"
  },
  "resolutions": {
    "angular": "1.7.8"
  }