码迷,mamicode.com
首页 > Web开发 > 详细

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

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

标签:checkout   color   ima   not   sys   失败   net   ati   span   

 

失败信息:

[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

标签:checkout   color   ima   not   sys   失败   net   ati   span   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!