# It has some problem when i build kibana 6.8

**URL:** <https://discuss.elastic.co/t/it-has-some-problem-when-i-build-kibana-6-8/222864>\
**Category:** Kibana\
**Created:** [March 10, 2020, 6:21am UTC](https://discuss.elastic.co/t/it-has-some-problem-when-i-build-kibana-6-8/222864 "2020-03-10T06:21:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dforel](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@dforel](https://discuss.elastic.co/u/dforel)\
**Post date:** [March 10, 2020, 6:21am UTC](https://discuss.elastic.co/t/it-has-some-problem-when-i-build-kibana-6-8/222864/1 "2020-03-10T06:21:19Z")

</div>

i use commond `yarn build`,when step to `Cleaning client node_modules bundled into the DLL`  
it wrong on `.\kibana-6.8\build\kibana\node_modules\x-pack\package.json`;  
the `package.json` is null, and the `x-pack` path is all none;

it just like issue [https://github.com/elastic/kibana/issues/28636](https://github.com/elastic/kibana/issues/28636)

where could check to fix this wrong?  
i google for a day and no idea to fix it.

i have change something in x-pack what about auth,add a api.

 ![2](https://us1.discourse-cdn.com/elastic/original/3X/4/c/4c3178f4f7d51ce9d8a0143d87771dbe9aafa2bf.png)

this is the process what i build x-pack print :

 ![1](https://us1.discourse-cdn.com/elastic/original/3X/6/2/620cf65f0566c8f33438f5c86c8709688c669e32.png)

this is the error pictrue, i find out the null file is `E:\work\2020\kibana-6.8\build\kibana\node_modules\x-pack\package.json`

 ![3](https://us1.discourse-cdn.com/elastic/original/3X/e/0/e021531c5236007cbf289dd0f1576cb5fc2fdcc4.png)

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [March 12, 2020, 4:30pm UTC](https://discuss.elastic.co/t/it-has-some-problem-when-i-build-kibana-6-8/222864/2 "2020-03-12T16:30:00Z")

</div>

Does Kibana start if you run it with your changes?  
If it does, i'd go for a yarn kbn clean and a yarn kbn bootstrap before trying to build again.

---

<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:** [April 9, 2020, 4:30pm UTC](https://discuss.elastic.co/t/it-has-some-problem-when-i-build-kibana-6-8/222864/3 "2020-04-09T16:30:00Z")

</div>

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