【问题标题】:Unable to find a suitable version for angular installing UI-GRID找不到适合角度安装 UI-GRID 的版本
【发布时间】:2016-04-22 07:38:02
【问题描述】:

我正在通过 bower 安装 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

【问题讨论】:

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


【解决方案1】:

这不是错误。这是为了允许用户选择要包含在项目中的 Angular 版本。使用 #4 推荐用于您的 ui-grid 版本。

【讨论】:

    猜你喜欢
    • 2018-08-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-06
    • 2018-12-18
    • 2016-02-23
    • 2016-11-19
    相关资源
    最近更新 更多