Trouble installing from source

I’m trying to get Dgraph from source using: go get -v github.com/dgraph-io/dgraph/dgraph however I’m getting the following error:

go: finding github.com/dgraph-io/dgraph/dgraph latest
github.com/dgraph-io/dgraph/protos/pb
# github.com/dgraph-io/dgraph/protos/pb
../../pkg/mod/github.com/dgraph-io/dgraph@v1.1.0/protos/pb/pb.pb.go:7132:29: m.Kv[iNdEx].MarshalToSizedBuffer undefined (type *pb.KV has no field or method MarshalToSizedBuffer)
../../pkg/mod/github.com/dgraph-io/dgraph@v1.1.0/protos/pb/pb.pb.go:7195:29: m.Kv[iNdEx].MarshalToSizedBuffer undefined (type *pb.KV has no field or method MarshalToSizedBuffer)

There was an open issue to resolve Go module support and it seems like it was merged, wondering if this is an unrelated/new error (in which case I’ll create an issue for it) or if, as I suspect, I may be doing something wrong?

My Go version: go version go1.13.1 darwin/amd64 I have GO111MODULE on.

You should follow this
https://github.com/dgraph-io/dgraph/pull/4300

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.