# Trouble installing from source

**URL:** <https://discuss.dgraph.io/t/trouble-installing-from-source/5507>\
**Category:** Users\
**Created:** [November 23, 2019, 5:19pm UTC](https://discuss.dgraph.io/t/trouble-installing-from-source/5507 "2019-11-23T17:19:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddibiase](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/ddibiase/32/1157_2.png) [@ddibiase](https://discuss.dgraph.io/u/ddibiase)\
**Post date:** [November 23, 2019, 5:19pm UTC](https://discuss.dgraph.io/t/trouble-installing-from-source/5507/1 "2019-11-23T17:19:16Z")

</div>

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:

```auto
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.

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [November 23, 2019, 6:41pm UTC](https://discuss.dgraph.io/t/trouble-installing-from-source/5507/2 "2019-11-23T18:41:46Z")

</div>

You should follow this  
[https://github.com/dgraph-io/dgraph/pull/4300](https://github.com/dgraph-io/dgraph/pull/4300)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/2/2b38fdece2abe5814f2e51bee69d1e67fc304b0a.png) [@system](https://discuss.dgraph.io/u/system)\
**Post date:** [December 23, 2019, 6:44pm UTC](https://discuss.dgraph.io/t/trouble-installing-from-source/5507/3 "2019-12-23T18:44:05Z")

</div>

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