I am trying to build archive for my custom plugin. I am following the process in the link below.
So, I generated the plugin with the generate_plugin script but then it says that in order to use my plugin in production, I need to run yarn build to generate the archive of my plugin.
but it gives me following errors.
$ yarn build
yarn run v1.21.1
$ node scripts/build --all-platforms
info [ global ] Verifying environment meets requirements
β succ Node.js version verified
β succ β 0 sec
info [ global ] Cleaning artifacts from previous builds
β debg Deleting patterns: [
β 'C:\\TEMP\\ELK-Development\\kibana\\build',
β 'C:\\TEMP\\ELK-Development\\kibana\\target',
β 'C:\\TEMP\\ELK-Development\\kibana\\.node_binaries'
β ]
β debg Deleted 1 files/directories
β succ β 0 sec
info [ global ] Downloading node.js builds for all platforms
β debg Downloading shasum values for node version 14.17.2 from https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/dist/v14.17.2/SHASUMS256.txt
βERROR failure 0 sec
βERROR Error: getaddrinfo ENOTFOUND us-central1-elastic-kibana-184716.cloudfunctions.net
β at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:26)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The ENOTFOUND error means that Node wasn't able to connect to the URL for the shasum text file from your computer. It's possible the server was down momentarily, or you were possibly having some connection issues at the time. Are you able to access the following URL in a browser?
Hi @Akhil2, sadly I'm not sure what else to try. The issue is likely in Bazel, the build system Kibana uses. It's possible this StackOverflow answer might help?
I'm currently having a lot of issues coming to grips with Bazel and the rest of the toolchain for plugin development, so you're definitely not alone here.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.