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 error #16

Open
bovy89 opened this issue Feb 7, 2022 · 0 comments
Open

go install error #16

bovy89 opened this issue Feb 7, 2022 · 0 comments

Comments

@bovy89
Copy link

bovy89 commented Feb 7, 2022

How to reproduce:

docker run -it --rm node:lts-alpine /bin/sh
apk add --no-cache git go
export GOROOT=/usr/lib/go
export GOPATH=/go
export PATH=/go/bin:$PATH
go install github.com/ozontech/dtrack-audit/cmd/dtrack-audit@latest

Go version: 1.17.4-r0

Error:

go: downloading github.com/ozontech/dtrack-audit v1.0.0
go install: github.com/ozontech/dtrack-audit/cmd/dtrack-audit@latest: github.com/ozontech/[email protected]: parsing go.mod:
	module declares its path as: github.com/ozonru/dtrack-audit
	        but was required as: github.com/ozontech/dtrack-audit

Following command works:

go install github.com/ozonru/dtrack-audit/cmd/dtrack-audit@latest
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