1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-09 13:36:57 +02:00

Create FAQ.md

安装失败的一个解决办法
This commit is contained in:
_go 2019-07-24 21:25:53 +08:00 committed by GitHub
parent 09224ec67c
commit 65d2b9fa0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
doc/wiki-cn/FAQ.md Normal file
View File

@ -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缓存文件夹,然后重新执行安装命令