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

CLI contributing.md instructions - error when installing realize #3588

Closed
GavinRay97 opened this issue Dec 24, 2019 · 1 comment
Closed

CLI contributing.md instructions - error when installing realize #3588

GavinRay97 opened this issue Dec 24, 2019 · 1 comment
Assignees
Labels
c/cli Related to CLI

Comments

@GavinRay97
Copy link
Member

Issue is documented here:
oxequa/realize#253

build github.com/oxequa/realize: cannot load gopkg.in/urfave/cli.v2: cannot find module providing package gopkg.in/urfave/cli.v2

Solved by deleting $GOPATH/pkg/mod/github.com/oxequa, running go get gopkg.in/urfave/cli.v2@master and then re-running go get github.com/oxequa/realize

@GavinRay97
Copy link
Member Author

GavinRay97 commented Dec 24, 2019

Another problem, when running make deps complaining about go-bindata issues:
OS: Ubuntu 19.10 x86_6

# github.com/hasura/go-bindata/go-bindata
../../../go/pkg/mod/github.com/hasura/[email protected]/go-bindata/main.go:44:17: c.Dev undefined (type *bindata.Config has no field or method Dev)
../../../go/pkg/mod/github.com/hasura/[email protected]/go-bindata/main.go:50:17: c.NoMetadata undefined (type *bindata.Config has no field or method NoMetadata)
../../../go/pkg/mod/github.com/hasura/[email protected]/go-bindata/main.go:51:17: c.Mode undefined (type *bindata.Config has no field or method Mode)
../../../go/pkg/mod/github.com/hasura/[email protected]/go-bindata/main.go:52:18: c.ModTime undefined (type *bindata.Config has no field or method ModTime)
make: *** [Makefile:19: deps] Error 2

image

Go Version + Environment:

(base) user@machine:~$ go version
go version go1.13.5 linux/amd64
(base) user@machine:~$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/user/.cache/go-build"
GOENV="/home/user/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/user/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build178632593=/tmp/go-build -gno-record-gcc-switches"

@shahidhk shahidhk self-assigned this Dec 25, 2019
@shahidhk shahidhk added the c/cli Related to CLI label Dec 25, 2019
polRk pushed a commit to polRk/graphql-engine that referenced this issue Feb 12, 2020
* use a maintained version of go-binddata, fix error in `realize
start`

* run go mod tidy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/cli Related to CLI
Projects
None yet
Development

No branches or pull requests

2 participants