openlayers3 bower安装失败

时间:2015-02-19 20:48:20

标签: bower openlayers-3

我正在尝试使用bower安装openlayers3,我有以下错误:

>bower install ol3
bower ol3#~3.2.1            not-cached git://github.com/Yann29/bower-ol3.git#~3.2.1
bower ol3#~3.2.1               resolve git://github.com/Yann29/bower-ol3.git#~3.2.1
bower ol3#*                 not-cached git://github.com/Yann29/bower-ol3.git#*
bower ol3#*                    resolve git://github.com/Yann29/bower-ol3.git#*
bower ol3#*                   checkout master
bower ol3#*                   progress Receiving objects:   2% (23/808), 732.00 KiB | 80.00 KiB/s
bower ol3#*                   progress Receiving objects:   6% (49/808), 788.00 KiB | 80.00 KiB/s
bower ol3#*                   progress Receiving objects:   7% (57/808), 908.00 KiB | 83.00 KiB/s
bower ol3#*                   progress Receiving objects:   8% (66/808), 956.00 KiB | 83.00 KiB/s
bower ol3#*                   progress Receiving objects:  17% (138/808), 1.00 MiB | 86.00 KiB/s
bower ol3#*                   progress Receiving objects:  18% (146/808), 1.14 MiB | 87.00 KiB/s
bower ol3#*                   progress Receiving objects:  18% (147/808), 1.25 MiB | 87.00 KiB/s
bower ol3#*                   progress Receiving objects:  19% (157/808), 1.33 MiB | 91.00 KiB/s
bower ol3#*                   progress Receiving objects:  19% (161/808), 1.49 MiB | 99.00 KiB/s
bower ol3#*                   progress Receiving objects:  20% (163/808), 1.57 MiB | 103.00 KiB/s
bower ol3#*                   progress Receiving objects:  20% (163/808), 1.69 MiB | 103.00 KiB/s
bower ol3#*                   progress Receiving objects:  20% (163/808), 1.75 MiB | 105.00 KiB/s
bower ol3#~3.2.1          ENORESTARGET No tag found that was able to satisfy ~3.2.1

Additional error details:
No versions found in git://github.com/Yann29/bower-ol3.git

我还尝试过bower install https://github.com/openlayers/ol3,但它仍会在https://github.com/openlayers/ol3中搜索。

关于如何安装openlayers 3.2.1的任何想法?

1 个答案:

答案 0 :(得分:0)

你可以使用它:bower install ol3-bower#3.2.1(版本3.13.1可用)。 Git repo