cucumber / cucumber/godog

module found but does not contain package

Open
#511 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.7k
Forks
280
Avg merge
2d 20h
Merged PRs (30d)
2

Description

I'm following the instructions on the README. However, when I try to do:
```
go install github.com/cucumber/godog/cmd/godog@latest
```
I get:
`go: github.com/cucumber/godog/cmd/godog@latest: module github.com/cucumber/godog@latest found (v0.12.5), but does not contain package github.com/cucumber/godog/cmd/godog`

Note that I did have v0.12.4 installed before.
Anyway, I get no errors if I do:
`go install github.com/cucumber/godog/cmd/godog@v0.12.4` or
`go install github.com/cucumber/godog/cmd/godog@v0.12.3`
but I do if I try to reference either `latest` or `v0.12.5`

I had also tried running `go clean -modcache` based on finding that suggestion online for this error in general, but that did not help.

(Note, I am outside of my $GOPATH.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.