-
Notifications
You must be signed in to change notification settings - Fork 240
编译报错:invalid version: git fetch --unshallow -f origin #164
Comments
重新安装go环境和重新下载git包后,编译时报错如下: |
go环境升级到1.12.6后编译,报错如下: runtime/usr/local/go/src/runtime/map.go:65:2: bucketCntBits redeclared in this block crypto/rc4/usr/local/go/src/crypto/rc4/rc4_asm.go:13:18: (*Cipher).XORKeyStream redeclared in this block |
什么系统 ?go是什么版本? |
大佬,编译时如下报错,如何解决?
go mod download go: github.com/spf13/[email protected] requires cloud.google.com/[email protected] requires cloud.google.com/go/[email protected] requires cloud.google.com/[email protected] requires github.com/golang/[email protected] requires google.golang.org/[email protected] requires github.com/golang/[email protected]: invalid version: git fetch --unshallow -f origin in /root/go/pkg/mod/cache/vcs/6e18cbff36266c74e48dd81b4b672026ac74fb69c838ddb6240f256bb8edf590: exit status 128: fatal: git fetch-pack: expected shallow list make: *** [get] Error 1
The text was updated successfully, but these errors were encountered: