Skip to content
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

The lack of package:"github.com/wundergraph/wundergraph/types/go/wgpb" #12

Closed
AnsonCode opened this issue May 27, 2022 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@AnsonCode
Copy link

Bug description

When I run cmd/wunderctl, I get a error:
../../pkg/loadvariable/loadvariable.go:8:2: no required module provides package github.com/wundergraph/wundergraph/types/go/wgpb; to add it: go get github.com/wundergraph/wundergraph/types/go/wgpb

And find that The lack of package:"github.com/wundergraph/wundergraph/types/go/wgpb"

How to reproduce

  1. Go to 'cmd/wunderctl'
  2. Change 'nothing'
  3. Run 'go run main.go'
  4. See error:
    ../../pkg/loadvariable/loadvariable.go:8:2: no required module provides package github.com/wundergraph/wundergraph/types/go/wgpb; to add it: go get github.com/wundergraph/wundergraph/types/go/wgpb

Expected behavior

No response

WunderGraph information

Environment & setup

  • OS:
  • Go version:
  • Database:
  • Node.js version:

WunderCtl Version

2b16f96

@AnsonCode AnsonCode added the bug Something isn't working label May 27, 2022
@jensneuse
Copy link
Member

This should work after running make, can you confirm?

@AnsonCode
Copy link
Author

when i run "make run",i get the error.

anson@192 wgcode % make run cd cmd/wunderctl && go run main.go ../../pkg/loadvariable/loadvariable.go:8:2: no required module provides package github.com/wundergraph/wundergraph/types/go/wgpb; to add it: go get github.com/wundergraph/wundergraph/types/go/wgpb make: *** [run] Error 1

@AnsonCode
Copy link
Author

Do we have to use go version 1.8?

@AnsonCode
Copy link
Author

Maybe i know the reason:i don't generate the code . I will have a try later.

@AnsonCode
Copy link
Author

I have solve the issue by run make.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants