Kibana development environment bootraping failure in kibana 6.3.0


(George Cherian) #1

Hi
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.

[bootstrap] failed:

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
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.

Thanks
George


(Joe Fleming) #2

What version of yarn are you using? I believe there's an issue with 1.7.0, which I thought was the cause of this error for some people internally. I know for sure that version 1.6.0 works as expected.


(George Cherian) #3

Thank you Joe, it worked with yarn version 1.6.0

Thanks
George


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.