thetatoken / theta-eth-rpc-adaptor

An adaptor that translates the Theta RPC APIs to the Ethereum RPC APIs
https://docs.thetatoken.org/
24 stars 11 forks source link

build error #23

Closed dzmitrykliapkou closed 3 years ago

dzmitrykliapkou commented 3 years ago

Hi there! I'm trying to build the adaptor and there is an error during build process:

go: downloading github.com/rs/xhandler v0.0.0-20160618193221-ed27b6fd6521
../theta/rpc/query.go:24:2: cannot find module providing package github.com/thetatoken/theta/version: module github.com/thetatoken/theta/version: git ls-remote -q origin in /home/kliapkou/go/pkg/mod/cache/vcs/5f8e6c4bdc5462a94fc16d4df6a65c06d7c188180d6d3bfc6fee44ce27dadd04: exit status 128:
        fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
Makefile:24: recipe for target 'release' failed
make: *** [release] Error 1

Details:

go version
go version go1.14.2 linux/amd64
dzmitrykliapkou commented 3 years ago

Should have installed theta first. Solved