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

go install not working #52

Open
karampok opened this issue Jan 25, 2024 · 3 comments
Open

go install not working #52

karampok opened this issue Jan 25, 2024 · 3 comments

Comments

@karampok
Copy link

Hello, very cool tool, not sure if that can be local config issue but I get this


)> go install github.com/maximbaz/yubikey-touch-detector@latest
go: github.com/maximbaz/yubikey-touch-detector@latest (in github.com/maximbaz/yubikey-touch-detector@v0.0.0-20240114104910-3b3aaaf91c5e):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.
> go version
go version go1.21.1 linux/amd64
> go install github.com/maximbaz/yubikey-touch-detector@1.10.1
(works)
@maximbaz
Copy link
Owner

@mochaaP do you think we would be able to avoid using replace directive, e.g. importing your fork directly?

thanks for the nice catch @karampok!

@mochaaP
Copy link
Contributor

mochaaP commented Jan 25, 2024

Yup, but I'd like to see upstream merging that if possible!

Hope they could pick this up soon :)

@mochaaP
Copy link
Contributor

mochaaP commented Jan 25, 2024

Upstream is working to merge the change. Should be able to remove the replace directive soon.

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

3 participants