I was trying to setup kibana 6.3.0 development environment and bootstrap it for using its in-build plugin generator to develop kibana plugin. But when I amgetting an error in between bootstrapping steps.
The error is as follows:
Installing dependencies in [@kbn/es]:
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
error An unexpected error occurred: "Reduce of empty array with no initial value".
info If you think this is a bug, please open a bug report with the information provided in "/home/centos/kibana-6.3.0/packages/kbn-es/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Command failed: yarn install --non-interactive --mutex file
at makeError (/home/centos/kibana-6.3.0/packages/kbn-pm/dist/index.js:39003:9)
at Promise.all.then.arr (/home/centos/kibana-6.3.0/packages/kbn-pm/dist/index.js:39108:16)
at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Could you please find the reason for this error and suggest a work around. Or any other alternative way to develop kibana plugin.