You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the checksum from the code in github does not match the checksum saved in sum.golang.org. The v1.6.2 tag of github.com/marmotedu/iam might have been retagged after a minor edition on github. I guess you use proxy.golang.org to get dependencies, but that also shows that your project is depending on the copy of github.com/marmotedu/[email protected] before its edition. Depending upon such inconsistent tag version may also result in some unexpected errors as well as build errors due to different proxy settings.
For example, when someone who does not use proxy.golang.org, say GOPROXY=direct, attempts to get github.com/marmotedu/[email protected], the following errors occur.
So, this is a reminder in the hope that you can get rid of this unreliable version of project github.com/marmotedu/iam.
Solution
1. Change the version of dependency github.com/marmotedu/iam
I would recommend changing the version of github.com/marmotedu/iam to another sync release to ensure dependency copy in proxy.golang.org and github in sync.
Background
Repo
github.com/marmotedu/gopractise-demo
depends ongithub.com/marmotedu/[email protected]
.https://github.com/marmotedu/gopractise-demo/blob/master/go.mod#L16
However, comparing version
v1.6.2
ofgithub.com/marmotedu/iam
from proxy.golang.org and github, there are inconsistencies.So the checksum from the code in github does not match the checksum saved in sum.golang.org. The
v1.6.2
tag ofgithub.com/marmotedu/iam
might have been retagged after a minor edition on github. I guess you use proxy.golang.org to get dependencies, but that also shows that your project is depending on the copy ofgithub.com/marmotedu/[email protected]
before its edition. Depending upon such inconsistent tag version may also result in some unexpected errors as well as build errors due to different proxy settings.For example, when someone who does not use proxy.golang.org, say
GOPROXY=direct
, attempts to getgithub.com/marmotedu/[email protected]
, the following errors occur.So, this is a reminder in the hope that you can get rid of this unreliable version of project
github.com/marmotedu/iam
.Solution
1. Change the version of dependency
github.com/marmotedu/iam
I would recommend changing the version of
github.com/marmotedu/iam
to another sync release to ensure dependency copy in proxy.golang.org and github in sync.References
The text was updated successfully, but these errors were encountered: