Go module "invalid revision" when dependency using vendored dependency

514 views Asked by At

I am trying to import https://github.com/kumahq/kuma in my project. Kuma project has a vendored dependency and following contents are present in its go.mod:

replace github.com/prometheus/prometheus => ./vendored/github.com/prometheus/prometheus

When I run go mod download or go list -m in my project I am getting the following error:

github.com/prometheus/[email protected]: invalid version: unknown revision 000000000000

I don't want to add Kuma as vendored dependency in my project.

0

There are 0 answers