bower.json
文件时,bower install --save GoogleWebComponents/google-map
收到错误消息后,它会被击中或错过:
ECONFLICT Unable to find suitable version for polymer
以下是完整输出:
$ bower install --save GoogleWebComponents/google-map
bower google-map#* cached git://github.com/GoogleWebComponents/google-map.git#1.1.10
bower google-map#* validate 1.1.10 against git://github.com/GoogleWebComponents/google-map.git
bower tem-waypoint#^1.0.0 cached https://github.com/elegantmonkeys/tem-waypoint.git#1.0.0
bower tem-waypoint#^1.0.0 validate 1.0.0 against https://github.com/elegantmonkeys/tem-waypoint.git#^
bower juicy-html#^1.1.0 cached https://github.com/Juicy/juicy-html.git#1.1.0
bower juicy-html#^1.1.0 validate 1.1.0 against https://github.com/Juicy/juicy-html.git#^1.1.0
bower scroll-progress#^0.0.3 cached https://github.com/samiheikki/scroll-progress.git#0.0.3
bower scroll-progress#^0.0.3 validate 0.0.3 against https://github.com/samiheikki/scroll-progress.git#^0
bower google-apis#^1.1.1 cached git://github.com/GoogleWebComponents/google-apis.git#1.1.5
bower google-apis#^1.1.1 validate 1.1.5 against git://github.com/GoogleWebComponents/google-apis.git.1
bower waypoints#^4.0.0 cached https://github.com/imakewebthings/waypoints.git#4.0.0
bower waypoints#^4.0.0 validate 4.0.0 against https://github.com/imakewebthings/waypoints.git#^4.0
bower polymer#1.2.3 cached git://github.com/Polymer/polymer.git#1.2.3
bower polymer#1.2.3 validate 1.2.3 against git://github.com/Polymer/polymer.git#1.2.3
bower polymer#^1.2.1 cached git://github.com/Polymer/polymer.git#1.4.0
bower polymer#^1.2.1 validate 1.4.0 against git://github.com/Polymer/polymer.git#^1.2.1
bower polymer#^1.1.0 cached git://github.com/Polymer/polymer.git#1.4.0
bower polymer#^1.1.0 validate 1.4.0 against git://github.com/Polymer/polymer.git#^1.1.0
bower polymer#^1.2.4 cached git://github.com/Polymer/polymer.git#1.4.0
bower polymer#^1.2.4 validate 1.4.0 against git://github.com/Polymer/polymer.git#^1.2.4
bower polymer#^1.4.0 cached https://github.com/Polymer/polymer.git#1.4.0
bower polymer#^1.4.0 validate 1.4.0 against https://github.com/Polymer/polymer.git#^1.4.0
bower ECONFLICT Unable to find suitable version for polymer
这是我的bower.json文件:
{
"name": "polymer-starter-kit",
"private": true,
"dependencies": {
"iron-elements": "PolymerElements/iron-elements#^1.0.0",
"neon-elements": "PolymerElements/neon-elements#^1.0.0",
"page": "visionmedia/page.js#~1.6.4",
"paper-elements": "PolymerElements/paper-elements#^1.0.1",
"platinum-elements": "PolymerElements/platinum-elements#^1.1.0",
"polymer": "Polymer/polymer#^1.2.0",
"iron-swipeable-pages": "^1.2.3",
"parallax-container": "^1.1.1",
"juicy-html": "^1.1.0",
"html-include": "^0.1.2",
"scroll-progress": "^0.0.3",
"tem-waypoint": "^1.0.0"
},
"devDependencies": {
"web-component-tester": "^4.0.0"
},
"ignore": []
}
我可以做些什么来缓解这个问题吗?我不得不手动将n drop依赖项拖放到项目中,除此之外,他们没有保存到我的bower文件中(打败了bower的目的)。
任何帮助将不胜感激!