I am building Kibana 6.7.2 from source via Jenkinsfile. OS is Windows 10.
The build process executes the following tasks in the given order:
- set node version to 10.15.2
- yarn kbn bootstrap
- yarn build --skip-os-packages --oss --skip-archives
- cd into build/oss/my_kibana_build and yarn install
- zip build in build/oss/my_kibana_build
When I download my build, and try to run bin/kibana.bat and immediately the Cannot find moudle 'babel-register' error is thrown.
I've read this is due to corrupt version download, but I have repeated the build multiple times and get the same error every time.
Is it possible the build process is corrupting the .zip it outputs? Should I be using the files that are output in build/oss to zip from, or is this the wrong destination?
When I execute these steps manually (i.e. not through the Jenkins pipeline), kibana will spin up without error