When I'm trying to build the binaries using: ./scripts/build.sh I have this error: enter image description here

1 Answer 1


Looking at the error it seems your go directory structure is incorrect. You need to clone the git repo in this directory:

  • $GOPATH/src/github.com/lightyeario/kelp

Make sure your $GOPATH is set up correctly: echo $GOPATH

Before you compile the binary with the build script, you will need to install the dependencies using glide

  • curl https://glide.sh/get | sh.

Once you have set up glide, you can run glide install to install the dependencies specified in the glide.yaml file. This will create a vendor directory which will be used to find the packages needed to compile the binary.

Once this is all set up, you can invoke the build script

  • ./scripts/build.sh
  • 1
    Yes the problem was in $GOPATH. After I clone clone the git repo in this directory: "$GOPATH/src/github.com/lightyeario/kelp" - it BUILD SUCCESSFUL Commented Aug 14, 2018 at 18:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.