gotron icon indicating copy to clipboard operation
gotron copied to clipboard

checksum mismatch

Open kishorevaishnav opened this issue 6 years ago • 2 comments

Hi,

Sorry one more thing!!!

I am trying to build the sample app for windows. And I get checksum mismatch first

go: verifying github.com/otiai10/[email protected]: checksum mismatch
	downloaded: h1:A7kMXwDPBTfIVRv2l6XV3U6Su3SzLUzZjxnDDQVZDIY=
	go.sum:     h1:QJNFh2XEtzwESNsblZgBuCsv38DU5vC/u+5DNBekwJM=

Do you have any idea how to tackle this?

BTW, go version = 1.11 & OS = Mojave 10.14.2

kishorevaishnav avatar Dec 26 '18 18:12 kishorevaishnav

Might be related.. https://github.com/golang/go/issues/27925

Will be investigated.

Equanox avatar Dec 26 '18 19:12 Equanox

This seems to be a issue when a go.sum file was created on a different OS. From your comment i guess you tried to use gotron-builder --win , but i'm not sure whether you used it inside a Equanox/gotron repo with our provided example or created a new repo and used it from there.

There are 2 possible fixes for this.

  1. Delete go.sum in Equanox/gotron and let go create a new one next time you run go build (This might not be possible)
  2. go clean -modcache

Does this fix your problem?

Equanox avatar Dec 29 '18 09:12 Equanox