> 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
> 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/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/fatih/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/golang/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/google/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hashicorp/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/pborman/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/rcrowley/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/rjeczalik/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/syndtr/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/karalabe/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/urfave/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/fatih/[email protected]: 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/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/fatih/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/golang/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/google/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hashicorp/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/pborman/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/rcrowley/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/rjeczalik/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/syndtr/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/karalabe/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/urfave/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/fatih/[email protected]: 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.