繁体   English   中英

凉亭版本问题:SockJS

[英]Bower version issue: SockJS

我想通过Bower获取最新的SockJS并将其保存到我的bower.json文件中。

根据GitHub sockjs-client页面 ,最新版本为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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM