Failed to create new beat

After creating the beat, I got the error below according to the instruction from this link:

[root@elk infabeat]# make setup
mkdir -p vendor/
cp -R /root/go/src/ vendor/
rm -rf vendor/ vendor/
mkdir -p vendor/
cp -R /root/go/src/ vendor/
git init
Reinitialized existing Git repository in /root/go/src/
make -f ./vendor/ mage ES_BEATS=./vendor/
make[1]: Entering directory /root/go/src/<username>/<beatname>' Installing mage v1.8.0 from vendor dir. can't load package: package<username>/<beatname>/vendor/ cannot use path@version syntax in GOPATH mode make[1]: *** [mage] Error 1 make[1]: Leaving directory/root/go/src/'
make: *** [pre-setup] Error 2
[root@elk infabeat]#

Env is like this:

[root@elk infabeat]# python --version
Python 2.7.9
[root@elk infabeat]# virtualenv --version
[root@elk infabeat]# go version
go version go1.13 linux/amd64
[root@elk infabeat]# uname -a
Linux elk 3.10.0-693.el7.x86_64 #1 SMP Thu Jul 6 19:56:57 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@elk infabeat]#

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