# Build Kibana in Windows 7 (git-bash)

**URL:** <https://discuss.elastic.co/t/build-kibana-in-windows-7-git-bash/140590>\
**Category:** Kibana\
**Created:** [July 18, 2018, 4:26pm UTC](https://discuss.elastic.co/t/build-kibana-in-windows-7-git-bash/140590 "2018-07-18T16:26:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![singrahu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/singrahu/32/12985_2.png) [@singrahu](https://discuss.elastic.co/u/singrahu)\
**Post date:** [July 18, 2018, 4:26pm UTC](https://discuss.elastic.co/t/build-kibana-in-windows-7-git-bash/140590/1 "2018-07-18T16:26:07Z")

</div>

Hi, I am trying to build the Kibana for plug-in development on my Windows machine, but unable to do so.  
I followed the steps mentioned in [CONTRIBUTING.md](https://github.com/elastic/kibana/blob/v6.3.1/CONTRIBUTING.md) file in respective branches.

Details are:  
OS: Windows 10  
Shell: git-bash  
Kibana version: tags/v6.3.1, tags/v5.6.10 and tags/v5.6.3

Errors:

1. While building Kibana 6.3.1 using yarn, I get `babel command not found` error:

2. After building v5.6.3 or v5.6.10 (which succeeds), I get `Cannot read property '5.x' of undefined` error:

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [July 18, 2018, 6:43pm UTC](https://discuss.elastic.co/t/build-kibana-in-windows-7-git-bash/140590/2 "2018-07-18T18:43:38Z")

</div>

Can you confirm that you have the right node, yarn/npm installed for the appropriate versions?

v6.3.1 needs [node 8.11.3 and yarn \>= 1.6.0](https://github.com/elastic/kibana/blob/v6.3.1/package.json#L306).

v5.6.10 needs [node 6.14.0 and npm 3.10.10](https://github.com/elastic/kibana/blob/v5.6.10/package.json#L282).

v5.6.3 needs [node 6.11.1 and npm 3.10.10](https://github.com/elastic/kibana/blob/v5.6.3/package.json#L278).

---

<div class="post-metadata">

**Author:** ![singrahu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/singrahu/32/12985_2.png) [@singrahu](https://discuss.elastic.co/u/singrahu)\
**Post date:** [July 18, 2018, 7:06pm UTC](https://discuss.elastic.co/t/build-kibana-in-windows-7-git-bash/140590/3 "2018-07-18T19:06:55Z")

</div>

Yes, I installed nvm and managing node and yarn+npm versions using it, as suggested by [CONTRIBUTING.md](https://github.com/elastic/kibana/blob/v6.3.1/CONTRIBUTING.md) page.  
For `v6.3.1`, node is `8.11.3` and yarn is `1.8.0`  
For `v5.6.10`, node is `6.14.0` and npm is `3.10.10`  
For `v5.6.3`, node is `6.11.1` and npm is again `3.10.10`

---

<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:** [August 15, 2018, 7:07pm UTC](https://discuss.elastic.co/t/build-kibana-in-windows-7-git-bash/140590/4 "2018-08-15T19:07:06Z")

</div>

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