[Bug Report] 'make generate' fails importing #4990
Unanswered
capt-jack-aubrey
asked this question in
Q&A
Replies: 1 comment
-
|
I tried to simulate this by running in a fresh docker container and I didn't get this error. Go should be resolving |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following the instructions from Building from source, make generate fails as Yamashou/gqlgenc/client package is not found.
$ make generate[...]
go: github.com/stashapp/stash/pkg/scraper/stashbox imports github.com/Yamashou/gqlgenc/client: module github.com/Yamashou/gqlgenc@latest found (v0.23.1), but does not contain package github.com/Yamashou/gqlgenc/client tidy failed: go mod tidy failed: exit status 1 exit status 1 cmd/stash/main.go:1: running "go": exit status 1 make: *** [Makefile:282: generate-backend] Error 1Fix
It looks like there's a new version of the package named
clientv2: https://pkg.go.dev/github.com/Yamashou/gqlgenc/clientv2and the import statement simply needs to be updated.
This is my first time working in Go otherwise i'd just submit a PR...will submit a fix later if i'm confident about it though.
Beta Was this translation helpful? Give feedback.
All reactions