我正在安装Google web组件,粘贴之后:
bower install GoogleWebComponents/google-sheets [--save]上面说它不认识--保存,所以我输入了
bower install GoogleWebComponents/google-sheets现在它在问:
Unable to find a suitable version for platform, please choose one:
1) platform#master which resolved to 1ea9f88521 and is required by core-comp
onent-page#9653654a2e, polymer#a16a41c923
2) platform#>=0.3.0 <1.0.0 which resolved to 0.3.3 and is required by core-c
omponent-page#0.3.3, polymer#0.3.3, polymer#0.3.3
Prefix the choice with ! to persist it to bower.json
[?] Answer:所以现在我的问题是:我该怎么办?
发布于 2014-07-09 12:10:37
因此,首先,您必须将--save放在bower包的参数列表前面。将--save放在最后,bower试图将其解析为bower包(这就是为什么它找不到它的原因)。
它要求您选择版本的原因是您的bower包与指定版本有依赖关系,而另一个依赖项具有与依赖项相同的包,但具有不同的版本。Bower无法决定要安装哪个版本的platform。我认为在这种情况下选择“稳定”版本(即0.3.3 )是有意义的,因为master可能会中断。
发布于 2014-11-29 18:28:34
只需选择前面的选择与!
例子:-
?答覆:4
o/p: bower聚合物分辨率将polymer#~0.5.1保存为分辨率
https://stackoverflow.com/questions/24638817
复制相似问题