Bash: mage: command not found

Getting the following error when trying to make packetbeat

Installing mage v1.8.0 from vendor dir.
bash: mage: command not found
make: [mage] Error 127 (ignored)

Machine: macOs 10.14.3

Do you have GOPATH/bin included in your PATH? Try

export PATH=$(go env GOPATH)/bin:$PATH

3 Likes

Thanks, it worked!

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