dtm-labs/dtm

Can't go mod tidy

sithu-go opened this issue · 3 comments

yedf2 commented

can not reproduce your problem. I can run go mod tidy successfully.

Btw, I'm using 1.21.5

can you clean go mod first?
go clean -modcache

or manually delete mod folder?

The initial error After I have cloned.

verifying github.com/agiledragon/gomonkey/v2@v2.2.0: checksum mismatch
	downloaded: h1:SXUF5UN7ZH67ORjFK+e1FoFRZczCSVUvwTywNY2+fcg=
	go.sum:     h1:QJWqpdEhGV/JJy70sZ/LDnhbSlMrqHAWHcNOjz1kyuI=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

still can not reproduce your problem.

my following commands succeeded

go1.22.2 clean -modcache 
go1.22.2 run main.go