From 65d2b9fa0b54c4bba3a04422b9ad23587bb2db1e Mon Sep 17 00:00:00 2001 From: _go Date: Wed, 24 Jul 2019 21:25:53 +0800 Subject: [PATCH] Create FAQ.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 安装失败的一个解决办法 --- doc/wiki-cn/FAQ.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/wiki-cn/FAQ.md diff --git a/doc/wiki-cn/FAQ.md b/doc/wiki-cn/FAQ.md new file mode 100644 index 000000000..04421e2f0 --- /dev/null +++ b/doc/wiki-cn/FAQ.md @@ -0,0 +1,12 @@ +#安装失败 + +执行 +```shell +go get -u github.com/bilibili/kratos/tool/kratos +``` +出现以下错误时 +```shell +go: github.com/prometheus/client_model@v0.0.0-20190220174349-fd36f4220a90: parsing go.mod: missing module line +go: github.com/remyoudompheng/bigfft@v0.0.0-20190806203942-babf20351dd7e3ac320adedbbe5eb311aec8763c: parsing go.mod: missing module line +``` +如果你使用了https://goproxy.io/ 代理,那你要使用其他代理来替换它,然后删除GOPATH目录下的mod缓存文件夹,然后重新执行安装命令