Hi Experts,
I am trying to build my cutome kibana pluging using yarn build and getting "error Command failed with exit code 1." error . Can someone please assist me on how I can fix it ?
[@kbn/optimizer/node] GET error [sourceMaps/6ba17a6a:node:internal/streams/end-of-stream]: 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)
[@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.<anonymous> (node:net:687:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.