Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import stealth shows checksum mismatch error #19

Open
ghost opened this issue Mar 29, 2022 · 2 comments
Open

import stealth shows checksum mismatch error #19

ghost opened this issue Mar 29, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 29, 2022

main imports
github.com/go-rod/stealth: github.com/go-rod/stealth@v0.4.4: verifying module: checksum mismatch
downloaded: h1:kKjZSB6osxJInG/2ywC8vt1Y0Oig/UnUfkcd/IRMGDM=
sum.golang.org: h1:JU5MgM1TZ1t1r+JLkKyf3EhnxMNCLHjcfQUFe/Vxta8=

@ysmood
Copy link
Member

ysmood commented Mar 29, 2022

Works fine for me, might be some issue with your go build-cache or proxy.

@ghost ghost changed the title import stealth shows error import stealth shows checksum mismatch error Mar 29, 2022
@antitoine
Copy link

Hi, same error for us. The original tag v0.4.4 was override by the v0.4.5 (I don't know when), they have the same hash (no diff when compare both):
image

Until the original tag is fixed, a workaround is to specify the commit hash that produce the v0.4.4 in go dependency by running:

go get github.com/go-rod/stealth@c82b4aac9f232ac6d7c6c721152919b7e8e2569f

Or specify this version in the go.mod file:

github.com/go-rod/stealth v0.4.4-0.20211117115945-c82b4aac9f23

And then run go mod tidy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants