Can't build the binary
Opened this issue · 5 comments
Deleted user commented
Hi,
I have this error when trying to build the binary
go build ./cmd/wallet-tracker/main.go
blockchain@v0.0.0-20220620185937-21a9b2b93ba8/address.go:145:9: c.loadETHResponse undefined (type *Client has no field or method loadETHResponse)
blockchain@v0.0.0-20220620185937-21a9b2b93ba8/address.go:156:9: c.loadETHResponse undefined (type *Client has no field or method loadETHResponse)
Also there is an error in go.mod
which is module github.com/aydinnyunus/wallet-tracker-cli
Th repo walltet-tracker-cli
doesn't exist
aydinnyunus commented
You are right. I fixed the issue can you please recheck ?
Deleted user commented
Well now it's worse
go install -v github.com/aydinnyunus/wallet-tracker/cmd/wallet-tracker@latest
go: downloading github.com/aydinnyunus/wallet-tracker v1.0.2
go: finding module for package github.com/aydinnyunus/wallet-tracker-cli/cli/command/commands
/usr/local/pkg/mod/github.com/aydinnyunus/wallet-tracker@v1.0.2/cmd/wallet-tracker/main.go:8:2: cannot find module providing package github.com/aydinnyunus/wallet-tracker-cli/cli/command/commands: module github.com/aydinnyunus/wallet-tracker-cli/cli/command/commands: git ls-remote -q origin in /usr/local/pkg/mod/cache/vcs/6b932cd6e383ff6c4fc4bc0faaa7791fe568e31f3bb0846f836cd3409a7d8a9e: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/aydinnyunus/wallet-tracker-cli/' not found
also when I do go mod tidy
I get bunch of errors
go: downloading github.com/aydinnyunus/blockchain v0.0.0-20220623151650-647ebea78f3b
go: finding module for package github.com/aydinnyunus/wallet-tracker-cli/domain/cli
go: finding module for package github.com/aydinnyunus/wallet-tracker-cli/cli/command/tracker
go: finding module for package github.com/aydinnyunus/wallet-tracker-cli/cli/command/neodash
go: finding module for package github.com/aydinnyunus/wallet-tracker-cli/cli/command/redis
go: finding module for package github.com/aydinnyunus/wallet-tracker-cli/domain/repository
go: finding module for package github.com/aydinnyunus/wallet-tracker-cli/cli/command/repository
go: finding module for package github.com/aydinnyunus/wallet-tracker-cli/cli/command/commands
github.com/aydinnyunus/wallet-tracker/cli/command/commands imports
github.com/aydinnyunus/wallet-tracker-cli/cli/command/neodash: cannot find module providing package github.com/aydinnyunus/wallet-tracker-cli/cli/command/neodash: module github.com/aydinnyunus/wallet-tracker-cli/cli/command/neodash: git ls-remote -q origin in /usr/local/pkg/mod/cache/vcs/6b932cd6e383ff6c4fc4bc0faaa7791fe568e31f3bb0846f836cd3409a7d8a9e: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/aydinnyunus/wallet-tracker-cli/' not found
github.com/aydinnyunus/wallet-tracker/cli/command/commands imports
github.com/aydinnyunus/wallet-tracker-cli/cli/command/redis: cannot find module providing package github.com/aydinnyunus/wallet-tracker-cli/cli/command/redis: module github.com/aydinnyunus/wallet-tracker-cli/cli/command/redis: git ls-remote -q origin in /usr/local/pkg/mod/cache/vcs/6b932cd6e383ff6c4fc4bc0faaa7791fe568e31f3bb0846f836cd3409a7d8a9e: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/aydinnyunus/wallet-tracker-cli/' not found
github.com/aydinnyunus/wallet-tracker/cli/command/commands imports
github.com/aydinnyunus/wallet-tracker-cli/cli/command/tracker: cannot find module providing package github.com/aydinnyunus/wallet-tracker-cli/cli/command/tracker: module github.com/aydinnyunus/wallet-tracker-cli/cli/command/tracker: git ls-remote -q origin in /usr/local/pkg/mod/cache/vcs/6b932cd6e383ff6c4fc4bc0faaa7791fe568e31f3bb0846f836cd3409a7d8a9e: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/aydinnyunus/wallet-tracker-cli/' not found
github.com/aydinnyunus/wallet-tracker/cli/command/neodash imports
github.com/aydinnyunus/wallet-tracker-cli/domain/cli: cannot find module providing package github.com/aydinnyunus/wallet-tracker-cli/domain/cli: module github.com/aydinnyunus/wallet-tracker-cli/domain/cli: git ls-remote -q origin in /usr/local/pkg/mod/cache/vcs/6b932cd6e383ff6c4fc4bc0faaa7791fe568e31f3bb0846f836cd3409a7d8a9e: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/aydinnyunus/wallet-tracker-cli/' not found
github.com/aydinnyunus/wallet-tracker/cli/command/neodash imports
github.com/aydinnyunus/wallet-tracker-cli/domain/repository: cannot find module providing package github.com/aydinnyunus/wallet-tracker-cli/domain/repository: module github.com/aydinnyunus/wallet-tracker-cli/domain/repository: git ls-remote -q origin in /usr/local/pkg/mod/cache/vcs/6b932cd6e383ff6c4fc4bc0faaa7791fe568e31f3bb0846f836cd3409a7d8a9e: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/aydinnyunus/wallet-tracker-cli/' not found
github.com/aydinnyunus/wallet-tracker/cli/command/redis imports
github.com/aydinnyunus/wallet-tracker-cli/cli/command/repository: cannot find module providing package github.com/aydinnyunus/wallet-tracker-cli/cli/command/repository: module github.com/aydinnyunus/wallet-tracker-cli/cli/command/repository: git ls-remote -q origin in /usr/local/pkg/mod/cache/vcs/6b932cd6e383ff6c4fc4bc0faaa7791fe568e31f3bb0846f836cd3409a7d8a9e: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/aydinnyunus/wallet-tracker-cli/' not found
github.com/aydinnyunus/wallet-tracker/cmd/wallet-tracker imports
github.com/aydinnyunus/wallet-tracker-cli/cli/command/commands: cannot find module providing package github.com/aydinnyunus/wallet-tracker-cli/cli/command/commands: module github.com/aydinnyunus/wallet-tracker-cli/cli/command/commands: git ls-remote -q origin in /usr/local/pkg/mod/cache/vcs/6b932cd6e383ff6c4fc4bc0faaa7791fe568e31f3bb0846f836cd3409a7d8a9e: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/aydinnyunus/wallet-tracker-cli/' not found
It seems there is conflicts in modules, and it keep fetching wallet-tracker-cli
aydinnyunus commented
@jJit0 I did not get any error. Can you try go clean -modcache
before using go install ..
command
Deleted user commented
Works much better by doing go clean -modcache
before installing
Thanks 😄
aydinnyunus commented
Thank you for your contribution <3