# Kibana plugin build and .local-chromium

**URL:** https://discuss.elastic.co/t/kibana-plugin-build-and-local-chromium/235148
**Category:** Kibana
**Created:** [June 1, 2020, 11:02am UTC](https://discuss.elastic.co/t/kibana-plugin-build-and-local-chromium/235148 "2020-06-01T11:02:18Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Nicolap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicolap/32/64933_2.png) [@Nicolap](https://discuss.elastic.co/u/Nicolap)
#### Post date: [June 1, 2020, 11:02am UTC](https://discuss.elastic.co/t/kibana-plugin-build-and-local-chromium/235148/1 "2020-06-01T11:02:19Z")

</div>

Hi guys,

I've a problem with che kibana plugin build I did using _plugin-helpers_  
In detail, when I run the build command I can see the zip file with all the plugin's file I need.  
The only files are missing is the .local-chromium I have in :

```auto
../kibana/plugins/plugin_name/node_modules/puppeteer/.local-chromium

```

Actually I'm solving this running an _yarn install_ after the plugin deploy.  
Obviously this is only a workaround...

Someone can help me??

Thanks in advance,  
Nicola

---

<div class="post-metadata">

### Author: ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)
#### Post date: [June 4, 2020, 12:30pm UTC](https://discuss.elastic.co/t/kibana-plugin-build-and-local-chromium/235148/2 "2020-06-04T12:30:41Z")

</div>

Hi @Nicolap

is the `.local-chromium` a symlink or a real file? because all symlink are removed from the zip file.

---

<div class="post-metadata">

### Author: ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)
#### Post date: [June 4, 2020, 12:37pm UTC](https://discuss.elastic.co/t/kibana-plugin-build-and-local-chromium/235148/3 "2020-06-04T12:37:19Z")

</div>

I've checked locally and we have the same dependency. `.local-chromium` is a folder, that is populated only after yarn install. I'm not sure why this is skipped by the plugin helper build command. Let me check with the Kibana Ops folks

---

<div class="post-metadata">

### Author: ![Nicolap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicolap/32/64933_2.png) [@Nicolap](https://discuss.elastic.co/u/Nicolap)
#### Post date: [June 4, 2020, 1:58pm UTC](https://discuss.elastic.co/t/kibana-plugin-build-and-local-chromium/235148/4 "2020-06-04T13:58:44Z")

</div>

Thanks @markov00.  
Let me know.

---

<div class="post-metadata">

### Author: ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)
#### Post date: [June 4, 2020, 2:01pm UTC](https://discuss.elastic.co/t/kibana-plugin-build-and-local-chromium/235148/5 "2020-06-04T14:01:47Z")

</div>

Ok so we have opened a PR to fix that: [https://github.com/elastic/kibana/pull/68247/files](https://github.com/elastic/kibana/pull/68247/files)  
I think you can try to apply the patch locally to see if this will fix your actual problem and if so please feel free to add a comment on that PR

---

<div class="post-metadata">

### Author: ![Nicolap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicolap/32/64933_2.png) [@Nicolap](https://discuss.elastic.co/u/Nicolap)
#### Post date: [June 4, 2020, 3:17pm UTC](https://discuss.elastic.co/t/kibana-plugin-build-and-local-chromium/235148/6 "2020-06-04T15:17:00Z")

</div>

Thanks @markov00 !  
I tryed the plugin helper build with the fix and It works as expected.

---

<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 2, 2020, 3:17pm UTC](https://discuss.elastic.co/t/kibana-plugin-build-and-local-chromium/235148/7 "2020-07-02T15:17:03Z")

</div>

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