Build Dgraph on arm64 Linux

Hello, I’m tring to build dgraph on arm64 Linux. I clone the project, and I run

make install

But the error happened:

build github.com/dgraph-io/dgraph/dgraph: cannot load embed: malformed module path “embed”: missing dot in first path element
make[1]: *** [Makefile:92: install] Error 1
make[1]: Leaving directory ‘/root/mqb/Dgraph/dgraph’
make: *** [Makefile:47: install] Error 2

I don’t know how to deal with that. Can somebody help me?

Can you please share the dgraph version and go version that you are using?

Thanks your help! My go version is that “go version go1.13.3 linux/arm64”. And my Dgraph is cloned from “https://github.com/dgraph-io/dgraph/releases/tag/v21.03.0”.

Can you please update your go version to >= 1.16, please?