# How to test EUI changes in Kibana(7.10.x) during development?

**URL:** <https://discuss.elastic.co/t/how-to-test-eui-changes-in-kibana-7-10-x-during-development/266114>\
**Category:** Kibana\
**Created:** [March 3, 2021, 1:41pm UTC](https://discuss.elastic.co/t/how-to-test-eui-changes-in-kibana-7-10-x-during-development/266114 "2021-03-03T13:41:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![hardik.rapidops](https://avatars.discourse-cdn.com/v4/letter/h/ecc23a/32.png) [@hardik.rapidops](https://discuss.elastic.co/u/hardik.rapidops)\
**Post date:** [March 3, 2021, 1:41pm UTC](https://discuss.elastic.co/t/how-to-test-eui-changes-in-kibana-7-10-x-during-development/266114/1 "2021-03-03T13:41:11Z")

</div>

I want to integrate eui with my local kibana, Is there any way to integrate eui with link e.g `@elastic/eui": "link:<eui repo path>` in package.json in kibana 7.10.x version ? I have tried it. It's not working.

Can anyone help me with this?

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [March 4, 2021, 9:39pm UTC](https://discuss.elastic.co/t/how-to-test-eui-changes-in-kibana-7-10-x-during-development/266114/2 "2021-03-04T21:39:23Z")

</div>

Hello,

Kibana uses EUI components and EUI is already packaged with Kibana.

Can you explain what do you mean by you want to integrate EUI with your local Kibana?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![hardik.rapidops](https://avatars.discourse-cdn.com/v4/letter/h/ecc23a/32.png) [@hardik.rapidops](https://discuss.elastic.co/u/hardik.rapidops)\
**Post date:** [March 9, 2021, 6:01am UTC](https://discuss.elastic.co/t/how-to-test-eui-changes-in-kibana-7-10-x-during-development/266114/3 "2021-03-09T06:01:24Z")

</div>

Thanks for your reply @bhavyarm.

Let me explain you in detail. I am using Kibana 7.10.2 and it's bundled with EUI 29.3.2.

I want to add new components in EUI 29.3.2 in my local and want to test it with Kibana, that's why I have cloned Kibana and EUI in my local and I have tried to integrate EUI using link command in  
`@elastic/eui": "link:<eui repo path>` in kibana package.json

Here is my directory structure of Kibana and EUI in my local:

> root  
> ------------- kibana  
> --------------eui

In eui, I have done proper setup using commands : `yarn`, `yarn build`

From above directory structure, kibana and eui both directories are in parallel. I have changed eui value in package.json from `"@elastic/eui": "29.3.2"` to `"@elastic/eui": "link:../../eui"` which is pointing to my local eui.

After doing this when I try to run `yarn kbn bootstrap`, I am getting following error:

> Blockquote  
> ERROR [bootstrap] failed:  
> ERROR TypeError: Cannot read property 'entries' of undefined  
> at Kibana.resolveAllProductionDependencies (/Users/hardikbhut/workspace/kibana-7.x/kibana-7.10.x/kibana/packages/kbn-pm/dist/index.js:58072:35)  
> at validateDependencies (/Users/hardikbhut/workspace/kibana-7.x/kibana-7.10.x/kibana/packages/kbn-pm/dist/index.js:38106:32)  
> at Object.run (/Users/hardikbhut/workspace/kibana-7.x/kibana-7.10.x/kibana/packages/kbn-pm/dist/index.js:9001:100)

I have attached screenshot of `yarn kbn bootstrap` command output

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

I was using the same structure in Kibana 6.8.x versions and It was working fine. But in Kibana 7.10.x, It's not working.

I hope you are getting my point. Let me know If you need any further details for same.

Thanks & Regards,  
Hardik

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [March 9, 2021, 3:07pm UTC](https://discuss.elastic.co/t/how-to-test-eui-changes-in-kibana-7-10-x-during-development/266114/4 "2021-03-09T15:07:04Z")

</div>

@chandlerprall can we please get some help here? I am not sure if I understand what user is trying to do?

Thanks  
Bhavya

---

<div class="post-metadata">

**Author:** ![hardik.rapidops](https://avatars.discourse-cdn.com/v4/letter/h/ecc23a/32.png) [@hardik.rapidops](https://discuss.elastic.co/u/hardik.rapidops)\
**Post date:** [March 10, 2021, 3:32pm UTC](https://discuss.elastic.co/t/how-to-test-eui-changes-in-kibana-7-10-x-during-development/266114/5 "2021-03-10T15:32:40Z")

</div>

For better understanding, I want to link eui with kibana, without publishing eui. I hope It makes little bit sense now.

---

<div class="post-metadata">

**Author:** ![chandlerprall](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandlerprall/32/85336_2.png) [@chandlerprall](https://discuss.elastic.co/u/chandlerprall)\
**Post date:** [March 10, 2021, 6:24pm UTC](https://discuss.elastic.co/t/how-to-test-eui-changes-in-kibana-7-10-x-during-development/266114/6 "2021-03-10T18:24:33Z")

</div>

Hey @hardik.rapidops , we maintain instructions for testing EUI builds in Kibana as part of the EUI wiki: [eui/component-development.md at master · elastic/eui · GitHub](https://github.com/elastic/eui/blob/master/wiki/component-development.md#testing-the-component-with-kibana) - we do our best to update that section whenever we find it becomes out of date.

Personally, for some reason, I cannot point at the .tar.gz file and have to extract it to a directory. Most folks have no issue directly using the tar file.

If you are debugging/testing small changes and are comfortable modifying the babel-transpiled code, EUI is brought into Kibana via packages/kbn-ui-shared-deps/target/kbn-ui-shared-deps.@elastic.js - you can modify that file and immediately refresh your browser window, changes to that file are applied without any additional build or transform step.

---

<div class="post-metadata">

**Author:** ![hardik.rapidops](https://avatars.discourse-cdn.com/v4/letter/h/ecc23a/32.png) [@hardik.rapidops](https://discuss.elastic.co/u/hardik.rapidops)\
**Post date:** [March 12, 2021, 6:18am UTC](https://discuss.elastic.co/t/how-to-test-eui-changes-in-kibana-7-10-x-during-development/266114/7 "2021-03-12T06:18:36Z")

</div>

@chandlerprall and @bhavyarm - Thanks for your help. It's really helpful and I have figured out the issue. Thanks again. Really appreciated.

---

<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, 2021, 6:18am UTC](https://discuss.elastic.co/t/how-to-test-eui-changes-in-kibana-7-10-x-during-development/266114/8 "2021-04-09T06:18:38Z")

</div>

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