filebeat编译报错recipe for target 'filebeat' failed,go1.13.4

孤人 提交于 2020-10-08 09:01:30

filebeat编译报错,go1.13.4

user@ecuser-desktop:~/gopath/src/github.com/elastic/beats/filebeat$ make 
go build -ldflags "-X github.com/elastic/beats/libbeat/version.buildTime=2020-06-23T06:51:25Z -X github.com/elastic/beats/libbeat/version.commit=0dcb3dfebef720e0b91c959eeb4d8e270501cc0e"
go: 4d63.com/tz@v1.1.1-0.20191124060701-6d37baae851b: Get https://proxy.golang.org/4d63.com/tz/@v/v1.1.1-0.20191124060701-6d37baae851b.mod: unexpected EOF
../libbeat/scripts/Makefile:138: recipe for target 'filebeat' failed
make: *** [filebeat] Error 1

 

将go版本升级到go1.13.8,编译成功

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!