首页 > Web开发 > 详细

glide install失败 Update failed for golang.org/x/net: Cannot detect VCS

时间:2018-05-14 17:25:17      阅读:3516      评论:0      收藏:0      [点我收藏+]

 

失败信息:

[WARN]    Unable to checkout golang.org/x/net
[ERROR]    Update failed for golang.org/x/net: Cannot detect VCS
[WARN]    Unable to checkout golang.org/x/sys
[ERROR]    Update failed for golang.org/x/sys: Cannot detect VCS
[WARN]    Unable to checkout golang.org/x/text
[ERROR]    Update failed for golang.org/x/text: Cannot detect VCS

 

以通过设置golang.org镜像到github.com/golang 来解决

1 $ glide mirror set https://golang.org/x/mobile https://github.com/golang/mobile --vcs git
2 $ glide mirror set https://golang.org/x/crypto https://github.com/golang/crypto --vcs git
3 $ glide mirror set https://golang.org/x/net https://github.com/golang/net --vcs git
4 $ glide mirror set https://golang.org/x/tools https://github.com/golang/tools --vcs git
5 $ glide mirror set https://golang.org/x/text https://github.com/golang/text --vcs git
6 $ glide mirror set https://golang.org/x/image https://github.com/golang/image --vcs git
7 $ glide mirror set https://golang.org/x/sys https://github.com/golang/sys --vcs git

 

glide install失败 Update failed for golang.org/x/net: Cannot detect VCS

原文:https://www.cnblogs.com/jiuchongxiao/p/9037058.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!