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

glide install fails for xxhash/v2 #673

Closed
Allkoman opened this issue Nov 5, 2019 · 3 comments
Closed

glide install fails for xxhash/v2 #673

Allkoman opened this issue Nov 5, 2019 · 3 comments

Comments

@Allkoman
Copy link

Allkoman commented Nov 5, 2019

I'm using golang version 1.13.4 with glide to manage my go package, but I can not install prometheus/client_golang because

[ERROR] Error scanning github.com/cespare/xxhash/v2: cannot find package "." in:
/Users/username/.glide/cache/src/https-git.luolix.top-cespare-xxhash/v2

Not like this issue, update golang version can not help me. according to cespare/xxhash , I set my GO111MODULE=on, but I can not install...

@beorn7
Copy link
Member

beorn7 commented Nov 5, 2019

I assume that Glide cannot deal with the v2 path suffix. But I don't know any details about Glide. Perhaps somebody who knows glide better could chime in.

I'd assume it's something that has to be fixed on the side of Glide.

@Allkoman
Copy link
Author

Allkoman commented Nov 5, 2019

thx fo the help, I changed my project to use go mod vendor ...

@Allkoman
Copy link
Author

just say goodbye to glide and using go mod vendor

this works for me in my k8s

export GO111MODULE=on && go mod init && go mod vendor

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

No branches or pull requests

2 participants