Hi-
I have to Make Package of metricbeats (got to test couple of bugs in Windows module which has been fixed, which is still in a pull request, but not yet into the master), but its failing with an error message as below:
Could someone please help me to fix this error:
C:\Users\Administrator\go\src\github.com\elastic\beats\metricbeat>make package
C:\Users\Administrator\go\bin\mage.exe
package ran for 0s
Error: failed to find github.com/elastic/beats/dev-tools/mage in the project's v
endor
C:\Users\Administrator\go\src\github.com\elastic\beats\metricbeat>make
Targets:
  build                 builds the Beat binary.
  buildGoDaemon         builds the go-daemon binary (use crossBuildGoDaemon).
  clean                 cleans all generated files and build artifacts.
  crossBuild            cross-builds the beat for all target platforms.
  crossBuildGoDaemon    cross-builds the go-daemon binary using Docker.
  crossBuildXPack       cross-builds the beat with XPack for all target platform
s.
  exportDashboard       exports a dashboard and writes it into the correct direc
tory Required ENV variables: * MODULE: Name of the module * ID: Dashboard id
  fields                generates a fields.yml for the Beat.
  goTestIntegration     executes the Go integration tests.
  goTestUnit            executes the Go unit tests.
  golangCrossBuild      build the Beat binary inside of the golang-builder.
  package               packages the Beat for distribution.
  testPackages          tests the generated packages (i.e.
  update                updates the generated files (aka make update).
go version - go version go1.12.1 windows/386
