這是爲什麼問我下決心當一切都寄託^
主要版本?我想我在做GitHub上我的版本有點問題,因爲它只要求對我的回購協議的決議,而不是爲了聚合物是兩種不同的次要版本。鮑爾 - 鋼釘到主要版本問叫
我對這個bower.json
運行bower install
:
{
"name": "test1",
"homepage": "https://github.com/tylergraf/test1",
"version": "0.0.2",
"dependencies": {
"test2": "git+https://github.com/tylergraf/test2#^0.0.3",
"test3": "git+https://github.com/tylergraf/test3#^0.0.5"
}
}
test2的bower.json
看起來是這樣的:
{
"name": "test2",
"homepage": "https://github.com/tylergraf/test2",
"version": "0.0.3",
"dependencies": {
"test3": "git+https://github.com/tylergraf/test3#^0.0.3",
"polymer": "git+https://github.com/polymer/polymer#^1.7.0"
}
}
TEST3 bower.json
看起來是這樣的:
{
"name": "test3",
"homepage": "https://github.com/tylergraf/test3",
"version": "0.0.5",
"dependencies": {
"test2": "git+https://github.com/tylergraf/test2#^0.0.2",
"polymer": "git+https://github.com/polymer/polymer#^1.4.0"
}
}
這裏是我的輸出:
Unable to find a suitable version for test2, please choose one by typing one of the numbers below:
1) test2#^0.0.2 which resolved to 0.0.2 and is required by test3#0.0.3, test3#0.0.5
2) test2#^0.0.3 which resolved to 0.0.3 and is required by test1
Prefix the choice with ! to persist it to bower.json
? Answer 2
Unable to find a suitable version for test3, please choose one by typing one of the numbers below:
1) test3#^0.0.3 which resolved to 0.0.3 and is required by test2#0.0.3
2) test3#^0.0.5 which resolved to 0.0.5 and is required by test1
Prefix the choice with ! to persist it to bower.json
? Answer 2