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

Dependency not satisfied: github.com/pkg/errors #56

Open
valorad opened this issue Mar 11, 2020 · 0 comments
Open

Dependency not satisfied: github.com/pkg/errors #56

valorad opened this issue Mar 11, 2020 · 0 comments

Comments

@valorad
Copy link

valorad commented Mar 11, 2020

Hello I am new to go programming. When I import github.com/machinebox/graphql in a go file, then run go mod tidy, the following stuff appears in console

github.com/my/project/server imports
        github.com/machinebox/graphql imports
        github.com/pkg/errors: module github.com/pkg/errors@latest found (v0.9.1), but does not contain package github.com/pkg/errors

It indicates that the dependency of pkg/errors is not satisfied. Go won't let me compile this file either, as same thing happens.

I guess it requires explicitly import at graphql.go Line42.

Like this?

"github.com/pkg/[email protected]"

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

1 participant