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

Installation error #19

Open
jrhe opened this issue Feb 24, 2022 · 1 comment
Open

Installation error #19

jrhe opened this issue Feb 24, 2022 · 1 comment

Comments

@jrhe
Copy link

jrhe commented Feb 24, 2022

Following the install instructions I get the following errors on make install.

> make install
go: cannot find main module, but found Gopkg.lock in /Users/jon/go/src/github.com/CoinCulture/evm-tools
	to create a module there, run:
	go mod init
go: cannot find main module, but found Gopkg.lock in /Users/jon/go/src/github.com/CoinCulture/evm-tools
	to create a module there, run:
	go mod init
make: *** [install] Error 1

I have tried running go mod init but it seems this messes up dependency management somehow with

> go mod init
go: creating new go.mod: module github.com/CoinCulture/evm-tools
go: copying requirements from Gopkg.lock
go: to add module requirements and sums:
	go mod tidy
> make install
go: inconsistent vendoring in /Users/jon/go/src/github.com/CoinCulture/evm-tools:
	github.com/ethereum/go-ethereum@v1.4.10: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/fatih/set@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/golang/snappy@v0.0.0-20180518054509-2e65f85255db: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/google/uuid@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/hashicorp/golang-lru@v0.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/pborman/uuid@v0.0.0-20180906182336-adf5a7427709: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/rcrowley/go-metrics@v0.0.0-20181016184325-3113b8401b8a: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/rjeczalik/notify@v0.9.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/syndtr/goleveldb@v0.0.0-20181128100959-b001fa50d6b2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	golang.org/x/crypto@v0.0.0-20190103213133-ff983b9c42bc: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	golang.org/x/sys@v0.0.0-20190102155601-82a175fd1598: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	gopkg.in/karalabe/cookiejar.v2@v2.0.0-20150724131613-8dcd6a7f4951: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	gopkg.in/urfave/cli.v1@v1.20.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	gopkg.in/fatih/set.v0@v0.1.0: is replaced in go.mod, but not marked as replaced in vendor/modules.txt

	To ignore the vendor directory, use -mod=readonly or -mod=mod.
	To sync the vendor directory, run:
		go mod vendor
go: inconsistent vendoring in /Users/jon/go/src/github.com/CoinCulture/evm-tools:
	github.com/ethereum/go-ethereum@v1.4.10: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/fatih/set@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/golang/snappy@v0.0.0-20180518054509-2e65f85255db: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/google/uuid@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/hashicorp/golang-lru@v0.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/pborman/uuid@v0.0.0-20180906182336-adf5a7427709: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/rcrowley/go-metrics@v0.0.0-20181016184325-3113b8401b8a: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/rjeczalik/notify@v0.9.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/syndtr/goleveldb@v0.0.0-20181128100959-b001fa50d6b2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	golang.org/x/crypto@v0.0.0-20190103213133-ff983b9c42bc: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	golang.org/x/sys@v0.0.0-20190102155601-82a175fd1598: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	gopkg.in/karalabe/cookiejar.v2@v2.0.0-20150724131613-8dcd6a7f4951: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	gopkg.in/urfave/cli.v1@v1.20.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	gopkg.in/fatih/set.v0@v0.1.0: is replaced in go.mod, but not marked as replaced in vendor/modules.txt

	To ignore the vendor directory, use -mod=readonly or -mod=mod.
	To sync the vendor directory, run:
		go mod vendor
make: *** [install] Error 1

I expect it's probably to do with changes in the go compiler, and that there's an easy fix, but I'm unfamiliar with go and tinkering so far has been fruitless. Any help appreciated.

Thanks for the great EVM guide!

@kevzettler
Copy link

same issues here

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

2 participants