无法为角度安装UI-GRID找到合适的版本

时间:2016-04-22 07:38:03

标签: angularjs bower karma-jasmine angular-ui-grid bower-install

我正在通过凉亭安装ui-grid,但是我收到以下错误。它是什么?我该怎么办?我必须在终端回答什么?

Unable to find a suitable version for angular, please choose one:
1) angular#>=1 <1.3.0 which resolved to 1.2.29 and is required by angular-bootstrap#0.12.1
2) angular#1.3.20 which resolved to 1.3.20 and is required by angular-animate#1.3.20, angular-mocks#1.3.20, angular-resource#1.3.20
3) angular#~1.3.8 which resolved to 1.3.20 and is required by angular-dashboard-seed
4) angular#>=1.2.16 1.4.x which resolved to 1.4.10 and is required by angular-ui-grid#3.1.1
5) angular#^1.0.8 which resolved to 1.5.5 and is required by angular-ui-router#0.2.18
6) angular#* which resolved to 1.5.5 and is required by angular-toastr#1.0.2
Prefix the choice with ! to persist it to bower.json

1 个答案:

答案 0 :(得分:0)

这不是错误。这是为了允许用户选择要包含在项目中的角度版本。选择#4,建议使用你的ui-grid版本。