无法通过Bower on Rails 4升级到Angular 1.3.8

时间:2015-02-20 20:42:14

标签: angularjs ruby-on-rails-4 bower

我在我的Vendor文件夹中使用Bower来跟踪库。在我的bower.json文件中,我有以下几行

{
  "name": "dsl-generated dependencies",
  "dependencies": {
     "angular": "1.3.4",
     "angular-foundation": "latest",
     "angular-ui-utils": "latest",
     "angular-ui-router": "latest",
     "angular-filter": "0.5.1",
     "angular-float-thead": "latest",
     "ngstorage": "latest",
     "ng-file-upload": "2.0.5",
     "oauth-ng": "0.3.5",
     "restangular": "latest",
    "angular-spinkit": "latest"
  }
}

当我将其更改为"angular": "1.3.8"并运行rake bower:update时,我会看到以下内容:

Unable to find a suitable version for angular, please choose one:
    1) angular#~1.2.26 which resolved to 1.2.28 and is required by oauth-ng#0.3.5 
    2) angular#* which resolved to 1.3.4 and is required by angular-filter#0.5.1, angular-spinkit#0.3.3, restangular#1.4.0 
    3) angular#1.3.4 which resolved to 1.3.4 and is required by dsl-generated dependencies 
    4) angular#>=1.0.8 which resolved to 1.3.4 and is required by ngstorage#0.3.0 
    5) angular#>=1 which resolved to 1.3.4 and is required by angular-foundation#0.5.1 
    6) angular#>= 1.0.8 which resolved to 1.3.4 and is required by angular-ui-router#0.2.13 
    7) angular#>= 1.0.2 which resolved to 1.3.4 and is required by angular-ui-utils#0.2.2Prefix the choice with ! to persist it to bower.json

? Answer:: 

任何人都知道为什么?为什么不让我升级到正确的版本?是因为它被锁定在某个地方吗?谢谢!

0 个答案:

没有答案