# Kibana development environment bootraping failure in kibana 6.3.0

**URL:** <https://discuss.elastic.co/t/kibana-development-environment-bootraping-failure-in-kibana-6-3-0/137591>\
**Category:** Kibana\
**Created:** [June 27, 2018, 9:56am UTC](https://discuss.elastic.co/t/kibana-development-environment-bootraping-failure-in-kibana-6-3-0/137591 "2018-06-27T09:56:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Cherian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/george_cherian/32/25879_2.png) [@George\_Cherian](https://discuss.elastic.co/u/George_Cherian)\
**Post date:** [June 27, 2018, 9:56am UTC](https://discuss.elastic.co/t/kibana-development-environment-bootraping-failure-in-kibana-6-3-0/137591/1 "2018-06-27T09:56:24Z")

</div>

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](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](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

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [June 27, 2018, 5:15pm UTC](https://discuss.elastic.co/t/kibana-development-environment-bootraping-failure-in-kibana-6-3-0/137591/2 "2018-06-27T17:15:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![George\_Cherian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/george_cherian/32/25879_2.png) [@George\_Cherian](https://discuss.elastic.co/u/George_Cherian)\
**Post date:** [June 28, 2018, 5:18am UTC](https://discuss.elastic.co/t/kibana-development-environment-bootraping-failure-in-kibana-6-3-0/137591/3 "2018-06-28T05:18:36Z")

</div>

Thank you Joe, it worked with yarn version 1.6.0

Thanks  
George

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 26, 2018, 5:18am UTC](https://discuss.elastic.co/t/kibana-development-environment-bootraping-failure-in-kibana-6-3-0/137591/4 "2018-07-26T05:18:50Z")

</div>

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