Closed yangyile1990 closed 2 months ago
use this not use others
GOPROXY=https://proxy.golang.org,direct
This is because I unexpectedly delete the tag and push it again. You can resolve this through two options:
go clean -modcache
and repull all dependency againThis is because I push unexpectedly delete the tag and push it again. You can resolve this through two options:
- clean you mod cache
go clean -modcache
and repull all dependency again- update to sonic v1.11.6 Sorry for disturbing. We will continue to work on making sonic more reliable and stable
Hi, with go clean -modcache
, the error still exists. maybe other reasons?
This is because I push unexpectedly delete the tag and push it again. You can resolve this through two options:
- clean you mod cache
go clean -modcache
and repull all dependency again- update to sonic v1.11.6 Sorry for disturbing. We will continue to work on making sonic more reliable and stable
Hi, with
go clean -modcache
, the error still exists. maybe other reasons?
Update to the latest version of sonic should solve this:
go get github.com/bytedance/sonic@latest
go get github.com/bytedance/sonic@latest
Running go get github.com/bytedance/sonic@latest
, it shows the same error:
[root@wonderland-01 one-api]# go get github.com/bytedance/sonic@latest
go: github.com/cloudwego/base64x@v0.1.3 requires
github.com/bytedance/sonic/loader@v0.1.0: verifying go.mod: checksum mismatch
downloaded: h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
sum.golang.org: h1:UmRT+IRTGKz/DAkzcEGzyVqQFJ7H9BqwBO3pm9H/+HY=
SECURITY ERROR
This download does NOT match the one reported by the checksum server.
I think this is because base64x depends on it. (and many other modules depend on sonic/loader@v0.1.0)
33 require (
39 github.com/bytedance/sonic v1.11.6 // indirect
41 github.com/cloudwego/base64x v0.1.3 // indirect ======> here throws error.
try go get -u
try go get -u
go get -u
the same error.
execute go clean -modcache
and rm go.sum
first, then modify sonic's and base64x's (if depends) versions to the latest in "go.mod", finally go mod tidy
maybe try go get github.com/bytedance/sonic@v1.11.8