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

Facing issue can not find package github.com/vektah/gqlparser/v2/ast #129

Open
TusharSheth opened this issue Sep 10, 2020 · 3 comments
Open

Comments

@TusharSheth
Copy link

We have been using gqlgen-v0.9.2 since a year, and now we are updating it to latest version. Straight forward I updated all the dependencies. But still after 2 days of efforts, I am getting errors.

Getting error message
vendor/github.com/99designs/gqlgen/graphql/context_field.go:7:2: cannot find package "github.com/vektah/gqlparser/v2/ast" in any of:

gqlgen version: 0.12.2

@TusharSheth TusharSheth changed the title Facing issue `gqlparser/v2/ast" Facing issue can not find package github.com/vektah/gqlparser/v2/ast Sep 10, 2020
@KellyLSB
Copy link

Also experiencing this when running go run github.com/99designs/gqlgen generate --verbose

@zaharzagrava
Copy link

I am experiencing similar issue when I run this commands

go mod init github.com/zaharzagrava/sandbox-2
go get github.com/99designs/gqlgen
go run github.com/99designs/gqlgen init

After that, if I navigate to generated.go my IDE shows this message:

image

Though my server (when I run server.go) seems to work just fine.

@CaptainNickSilver
Copy link

your references are to gqlparser/v2/ast but there is no gqlparser/v2 or gqlparser/v2/ast
Trying to use gqlgen but these broken links are preventing it from working.

I'm facing this issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants