Bower 版本问题:SockJS
Bower version issue: SockJS
我想通过 Bower 获取最新的 SockJS 并将其保存到我的 bower.json
文件中。
根据 GitHub sockjs-client page,最新版本是 v1.0.3
(我看到它的标签)。
然而,我不断收到 v0.3.4
。这是命令我 运行:
> bower install sockjs --save
我的结果:
bower sockjs#* cached git://github.com/myguidingstar/bower-sockjs.git#0.3.4
bower sockjs#* validate 0.3.4 against git://github.com/myguidingstar/bower-sockjs.git#*
bower sockjs#~0.3.4 install sockjs#0.3.4
我尝试了很多方法,包括:
> bower install https://github.com/sockjs/sockjs-client.git#v1.0.3 --save
并得到一个错误:
bower sockjs#1.0.3 not-cached git://github.com/myguidingstar/bower-sockjs.git#1.0.3
bower sockjs#1.0.3 resolve git://github.com/myguidingstar/bower-sockjs.git#1.0.3
bower sockjs-client#v1.0.3 cached https://github.com/sockjs/sockjs-client.git#1.0.3
bower sockjs-client#v1.0.3 validate 1.0.3 against https://github.com/sockjs/sockjs-client.git#v1.0.3
bower sockjs#1.0.3 ENORESTARGET No tag found that was able to satisfy 1.0.3
Additional error details:
Available versions: 0.3.4
出于某种原因,无论我做什么,它总是回到 v0.3.4
。有任何想法吗?
您正在寻找的包裹是 sockjs-client
而不是 socksjs
,因此您应该这样做
bower install sockjs-client --save
我想通过 Bower 获取最新的 SockJS 并将其保存到我的 bower.json
文件中。
根据 GitHub sockjs-client page,最新版本是 v1.0.3
(我看到它的标签)。
然而,我不断收到 v0.3.4
。这是命令我 运行:
> bower install sockjs --save
我的结果:
bower sockjs#* cached git://github.com/myguidingstar/bower-sockjs.git#0.3.4
bower sockjs#* validate 0.3.4 against git://github.com/myguidingstar/bower-sockjs.git#*
bower sockjs#~0.3.4 install sockjs#0.3.4
我尝试了很多方法,包括:
> bower install https://github.com/sockjs/sockjs-client.git#v1.0.3 --save
并得到一个错误:
bower sockjs#1.0.3 not-cached git://github.com/myguidingstar/bower-sockjs.git#1.0.3
bower sockjs#1.0.3 resolve git://github.com/myguidingstar/bower-sockjs.git#1.0.3
bower sockjs-client#v1.0.3 cached https://github.com/sockjs/sockjs-client.git#1.0.3
bower sockjs-client#v1.0.3 validate 1.0.3 against https://github.com/sockjs/sockjs-client.git#v1.0.3
bower sockjs#1.0.3 ENORESTARGET No tag found that was able to satisfy 1.0.3
Additional error details:
Available versions: 0.3.4
出于某种原因,无论我做什么,它总是回到 v0.3.4
。有任何想法吗?
您正在寻找的包裹是 sockjs-client
而不是 socksjs
,因此您应该这样做
bower install sockjs-client --save