-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: error parsing go.mod: unexpected module path #28202
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
Comments
Hi @felipeweb, Please give us the complete steps to reproduce this issue. We do not know from which folder you ran |
@agnivade updated sorry |
Thanks. Seems like the module name is incorrect declared - go: github.com/census-ecosystem/opencensus-go-exporter-aws@v0.0.0-20180906190126-dd54a7ef511e: parsing go.mod: unexpected module path "contrib.go.opencensus.io/exporter/aws" You are trying to get "github.com/census-ecosystem/opencensus-go-exporter-aws", but the module path is "contrib.go.opencensus.io/exporter/aws". You should "go get contrib.go.opencensus.io/exporter/aws" instead. Either chase down the dep tree and update the required go.mod, or add a replace directive like -
|
I chased down the dep tree and it's |
if a project has go-cloud as a dependency and try run ```go get -u``` it fails because aws exporter path is wrong. More details: golang/go#28202
What did you do?
I have cloned
https://github.com/funccloud/auth inside my gopath, went to the project folder, export GO111MODULE variable and ran go get -u inside the project folder
What did you expect to see?
run without errors
What did you see instead?
go: github.com/census-ecosystem/opencensus-go-exporter-aws@v0.0.0-20180906190126-dd54a7ef511e: parsing go.mod: unexpected module path "contrib.go.opencensus.io/exporter/aws"
System details
The text was updated successfully, but these errors were encountered: