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

No install the COBRA CLI, error in a dependency #1393

Closed
TeoDev1611 opened this issue May 7, 2021 · 1 comment
Closed

No install the COBRA CLI, error in a dependency #1393

TeoDev1611 opened this issue May 7, 2021 · 1 comment

Comments

@TeoDev1611
Copy link
Contributor

GOLANG VERSION

go version go1.15.9 linux/amd64

COMMAND

go install -x -v github.com/spf13/cobra/cobra

ERROR:

go/src/github.com/spf13/viper/viper.go:40:2: cannot find package "github.com/hashicorp/hcl/hcl/printer" in any of:
        /usr/lib/go-1.15/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT)
        /home/teodev/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOPATH)

I see this issue #1348 but not works show this error any solution? 👍🏽

@TeoDev1611
Copy link
Contributor Author

Fixed run this in the terminal

export GO111MODULE=on

👍🏽

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