Hi Everyone,
As per the documentation : Plugin tooling | Kibana Guide [8.5] | Elastic
Topic : Build plugin distributable
To build your plugin run within your plugin folder:
yarn build
It will output azip
archive in kibana/plugins/my_plugin_name/build/ folder.
It is failing with below error :
info [ kibana ] Creating deb package
info $ fpm --force -t deb --package /Users/sunil/Documents/workspace/kibana/target/NAME-8.5.1-SNAPSHOT-ARCH.TYPE -s dir --name kibana --description Explore and visualize your Elasticsearch data --version 8.5.1-SNAPSHOT --url https://www.elastic.co --vendor Elasticsearch, Inc. --maintainer Kibana Team......... [BIG TEXT]
│ERROR failure 0 sec
│ERROR Error: Premature close
│ at new NodeError (node:internal/errors:387:5)
│ at Socket.onclose (node:internal/streams/end-of-stream:140:30)
│ at Socket.emit (node:events:525:35)
│ at Pipe.<anonymous> (node:net:301:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
looking for help.