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

bitcomplete not installing via go get #8

Closed
duckunix opened this issue Oct 7, 2020 · 4 comments
Closed

bitcomplete not installing via go get #8

duckunix opened this issue Oct 7, 2020 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@duckunix
Copy link

duckunix commented Oct 7, 2020

Thanks for adding this method, however:

go get -u github.com/chriswalz/bit/bitcomplete;
cannot find package "github.com/posener/complete/v2" in any of:
        /snap/go/6439/src/github.com/posener/complete/v2 (from $GOROOT)
        /home/don/go/src/github.com/posener/complete/v2 (from $GOPATH)
cannot find package "github.com/posener/complete/v2/predict" in any of:
        /snap/go/6439/src/github.com/posener/complete/v2/predict (from $GOROOT)
        /home/don/go/src/github.com/posener/complete/v2/predict (from $GOPATH)

@chriswalz
Copy link
Owner

I haven't quite figured out why this is happening. It's something to do with not having the repo cloned locally...

@chriswalz chriswalz added the help wanted Extra attention is needed label Oct 8, 2020
@sarathsp06
Copy link
Contributor

sarathsp06 commented Oct 8, 2020

It could happen if you do not have "GO111MODULE=on", can you try with that?

GO111MODULE=on go get -u github.com/chriswalz/bit/bitcomplete;

@chriswalz
Copy link
Owner

I believe this is the correct solution and I had updated the README. This solution only works for non windows machines however

@duckunix
Copy link
Author

duckunix commented Oct 8, 2020

Verified and that works for me now. Cheers

@duckunix duckunix closed this as completed Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants