当它说“无法找到合适的角度”版本是什么意思?在我的bower.json中,我指定了1.2.6作为角度版本。为什么我在这里得到6个选择,其中5个可能会导致我的项目停止工作?
原文链接:https://www.f2er.com/angularjs/144125.htmlUnable to find a suitable version for angular,please choose one: 1) angular#1.2.6 which resolved to 1.2.6 and is required by angular-scenario#1.2.6 2) angular#1.2.15 which resolved to 1.2.15 and is required by angled-horizon 3) angular#1.2.16 which resolved to 1.2.16 and is required by angular-animate#1.2.16 4) angular#>= 1.0.2 which resolved to 1.2.16 and is required by angular-ui-utils#0.1.1 5) angular#>=1 which resolved to 1.2.16 and is required by angular-bootstrap#0.10.0 6) angular#~1.2.10 which resolved to 1.2.16 and is required by angular-strap#2.0.1
另外,如果我使用会发生什么!坚持到bower.json?
这是我的bower.json,如果它有帮助:
{ "name": "angled-horizon","version": "0.0.0","dependencies": { "angular": "1.2.15","json3": "3.2.6","es5-shim": "2.1.0","jquery": "1.10.2","sass-bootstrap": "3.0.2","angular-resource": "1.2.6","angular-cookies": "1.2.6","angular-sanitize": "1.2.6","angular-route": "1.2.6","angular-ui-utils": "0.1.1","angular-animate": "1.2.6","angular-bootstrap": "0.10.0" },"devDependencies": { "angular-mocks": "1.2.6","angular-scenario": "1.2.6","angular-ui-utils": "0.1.1" },"resolutions": { "angular": "1.2.15" } }