glide install时遇到 Unable to update checked out vers

glide 安装go 依赖时,遇到Failed to set version on github.com/kataras/iris to ffcb1b8aac0d270d623596734f5595c5a76bed9f: Unable to update checked out version: exit status 1
的解决办法:

1、修改glide.yaml中的github.com/kataras/iris 的版本号。
2、删除目录中的vendor文件夹,以及有必要也要删除 glide.lock(一般不需要删)。
3、执行 glide cache-clear。

done.

原文地址:https://blog.51cto.com/13766835/2366905

时间: 2024-12-11 14:55:06

glide install时遇到 Unable to update checked out vers的相关文章

[转]使用Maven添加依赖项时(Add Dependency)时,没有提示项目可用,并且在Console中,输出: Unable to update index for central|http://repo1.maven.org/maven2 。

使用Maven添加依赖项时(Add Dependency)时,没有提示项目可用,并且在Console中,输出: Unable to update index for central|http://repo1.maven.org/maven2 . 解决方式如下: 1.通过其它方式下载如下两个文件: http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties http://repo1.maven.org/m

VirtualBox安装增强工具时:Unable to install guest additions: unknown filesystem type 'iso9660'

解决方法: sudo apt-get install --reinstall linux-image-$(uname -r) 参考:http://askubuntu.com/questions/596998/unable-to-install-guest-additions-unknown-filesystem-type-iso9660 VirtualBox安装增强工具时:Unable to install guest additions: unknown filesystem type 'is

PYTHON包安装时发生Unable to find vcvarsall.bat的解决办法

今天遇到了这个方面的问题,目前找到两种办法.一种是换编译器如mingw,另一种是装vc.第一种方法没成功,现在正在等第二种. 第一种: 首先安装MinGW: 把MinGW的路径添加到环境变量path中,比如MinGW安装在D:\MinGW\中,就把D:\MinGW\bin添加到path中: 打开命令行窗口,在命令行窗口中进入到要安装代码的目录下: 输入如下命令就可以安装了.setup.py install build --compiler=mingw32 第二种: 今天在安装pyscopg2库的

(转载)解决eclipse安装maven的问题:Unable to update index for central|http://repo1.maven.org/maven2

问题产生如下:因为单位使用了过滤,访问Internet时,超过10M的内容就拒绝.因为maven插件在初始时,需要下载Maven的index文件,这个文件比较大,有38M多,下载不成功.所以造成使用Maven添加依赖项时(Add Dependency)时,没有提示项目可用,并且在Console中,输出:Unable to update index for central|http://repo1.maven.org/maven2 . 解决方式如下:1.通过其它方式下载如下两个文件:http://

"remote:error:refusing to update checked out branch:refs/heads/master"的解决办法

在使用Git Push代码到数据仓库时,提示如下错误: [remote rejected] master -> master (branch is currently checked out) 错误原型 remote: error: refusing to update checked out branch: refs/heads/master remote: error: By default, updating the current branch in a non-bare reposit

MySQL安装问题:Unable to update security settings解决方案

主要问题还是之前装过,卸载的时候卸载不干净导致的. 如下: 安装到最后出现: Unable to update security settings. Access denied for user 'root'@'localhost' (using password: YES) 这个问题还是在网上找的,引自: http://www.cnblogs.com/IamThat/archive/2013/05/27/3101358.html 解决方法如下: 解决方法: 1, 控制面板卸载MySQL 2,

[转帖]k8s集群node节点一直NotReady, 且node节点(并非master)的kubelet报错:Unable to update cni config: No networks found in /etc/cni/net.d

k8s集群node节点一直NotReady, 且node节点(并非master)的kubelet报错:Unable to update cni config: No networks found in /etc/cni/net.d http://www.voidcn.com/article/p-wpuagtbj-byy.html ? 考虑到node节点的kubelet报错Unable to update cni config: No networks found in /etc/cni/net.

安装npm install时,长时间停留在fetchMetadata: sill 解决方法——换npm的源

安装npm install时,长时间停留在fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch处, 此处需要在对应的URL处下载一些文件,只要网络稳定,一般花不了多长时间 但是,最近两次操作都是长时间停留,在网上找了一些原因,才发现后面的URL地址可以由淘宝的源代替,原来是资源问题导致的 方法如下: 更换成淘宝的源 npm config set registry https://registry.

maven install时自动施行单元测试

maven install时自动执行单元测试 1.maven-surefire-plugin简介 Maven本身并不是一个单元测试框架,它只是在构建执行到特定生命周期阶段的时候,通过插件来执行JUnit或者TestNG的测试用例.这个插 件就是maven-surefire-plugin,也可以称为测试运行器(Test Runner),它能兼容JUnit 3.JUnit 4以及TestNG. 在默认情况下,maven-surefire-plugin的test目标会自动执行测试源码路径(默认为src