Open utterances-bot opened 3 years ago
when using yarn kbn bootstrap, i get error installing bazel tools, seems like it cant access something that should be in $PATH, i dont really understand it
could you please share the steps to create the distributable version of plugin using yarn build with console logs?
As I am able to generate the custom plugin ; but my yarn build failed
[@kbn/optimizer/node] GET error [sourceMaps/6ba17a6a:node:internal/errors]: Error: Invalid parameter, which on MacOS is often due to more transactions than available robust locked semaphors (see docs for more info)
at renewReadTxn (/opt/tryfour/kibana/node_modules/lmdb-store/index.js:143:18)
at LMDBStore.getString (/opt/tryfour/kibana/node_modules/lmdb-store/index.js:423:58)
at LMDBStore.get (/opt/tryfour/kibana/node_modules/lmdb-store/index.js:445:22)
at Cache.safeGet (/opt/tryfour/kibana/node_modules/@kbn/optimizer/target_node/node/cache.js:128:24)
at Cache.getSourceMap (/opt/tryfour/kibana/node_modules/@kbn/optimizer/target_node/node/cache.js:105:22)
at Array.retrieveSourceMap (/opt/tryfour/kibana/node_modules/@kbn/optimizer/target_node/node/node_auto_tranpilation.js:162:25)
at /opt/tryfour/kibana/node_modules/source-map-support/source-map-support.js:65:24
at mapSourcePosition (/opt/tryfour/kibana/node_modules/source-map-support/source-map-support.js:196:21)
at wrapCallSite (/opt/tryfour/kibana/node_modules/source-map-support/source-map-support.js:377:20)
at prepareStackTrace (/opt/tryfour/kibana/node_modules/source-map-support/source-map-support.js:426:39)
at Function.csPrepareStackTrace (/opt/tryfour/kibana/node_modules/error-callsites/index.js:52:10)
at maybeOverridePrepareStackTrace (node:internal/errors:141:29)
at prepareStackTrace (node:internal/errors:115:5)
at checkError (node:internal/streams/destroy:19:9)
at Transform.destroy (node:internal/streams/destroy:49:3)
at Object.destroyer (node:internal/streams/destroy:313:59)
│ERROR failure 0 sec
│ERROR Error: Premature close
│ at new NodeError (node:internal/errors:371:5)
│ at Socket.onclose (node:internal/streams/end-of-stream:135:30)
│ at Socket.emit (node:events:402:35)
│ at Pipe.
error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
How To Create A Plugin For Kibana | Dilshan Kelsen
Since version 4.3 of Kibana, Elastic let's you create your own custom features through plugins. However, the company very much likes to…
https://dilshankelsen.com/how-to-create-a-plugin-for-kibana/