# Plugin not loading

**URL:** <https://discuss.elastic.co/t/plugin-not-loading/135394>\
**Category:** Kibana\
**Created:** [June 11, 2018, 2:50pm UTC](https://discuss.elastic.co/t/plugin-not-loading/135394 "2018-06-11T14:50:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![george1](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@george1](https://discuss.elastic.co/u/george1)\
**Post date:** [June 11, 2018, 2:50pm UTC](https://discuss.elastic.co/t/plugin-not-loading/135394/1 "2018-06-11T14:50:30Z")

</div>

Hello,

I created my custom kibana plugin following the template in [https://github.com/elastic/template-kibana-plugin/](https://github.com/elastic/template-kibana-plugin/).

After creating the plugin I used npm run build to create the archive, then installed the plugin in my kibana using bin\kibana-plugin install file:///pathtodirectory.

My problem is when executing kibana the plugin doesn't show and I'm not getting any error.  
It worked in development and I'm using kibana 6.2.2.  
plugin installation:

 ![kibana2](https://us1.discourse-cdn.com/elastic/original/3X/f/6/f6fe0ea96b0432e184c5c0a8f03e8b21385b3acf.png)  
kibana start:  
 ![kibana](https://us1.discourse-cdn.com/elastic/original/3X/c/2/c262a3921c36aa2ce5b8605929d35e54c83e35e1.png)

Appreciate any help.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [June 12, 2018, 3:02pm UTC](https://discuss.elastic.co/t/plugin-not-loading/135394/2 "2018-06-12T15:02:16Z")

</div>

Hmm sounds like a bug, possibly related to [https://github.com/elastic/kibana/issues/19678](https://github.com/elastic/kibana/issues/19678). A few extra questions:

Does the status page (`/status`) show the plugin? Is the plugin available in the `plugins` folder? Do you see the plugin in the `optimize/bundles` dir?

---

<div class="post-metadata">

**Author:** ![george1](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@george1](https://discuss.elastic.co/u/george1)\
**Post date:** [June 12, 2018, 3:10pm UTC](https://discuss.elastic.co/t/plugin-not-loading/135394/3 "2018-06-12T15:10:26Z")

</div>

The plugin is available in plugins folder.  
The plugin is not in the status and optimize/bundles.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [June 12, 2018, 3:15pm UTC](https://discuss.elastic.co/t/plugin-not-loading/135394/4 "2018-06-12T15:15:06Z")

</div>

Thanks for the info. I'm going to have to dig into this more, the issue above seems to be happening only on windows machines, if you have a linux (subshell?) cli that you can try.

One other question, what type of plugin are you creating? Is it an entire app or hooking into kibana?

---

<div class="post-metadata">

**Author:** ![george1](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@george1](https://discuss.elastic.co/u/george1)\
**Post date:** [June 12, 2018, 3:46pm UTC](https://discuss.elastic.co/t/plugin-not-loading/135394/5 "2018-06-12T15:46:37Z")

</div>

I have linux shell but i'm having some problems using kibana from it.

About the plugin I'm making an app that comunicates with elasticsearch and it's accessed through the left panel similar to Dev tools. I used the kibana-plugin generator to get started. Don't know if I answered your second question, let me known if you need any extra information.

---

<div class="post-metadata">

**Author:** ![george1](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@george1](https://discuss.elastic.co/u/george1)\
**Post date:** [June 12, 2018, 7:56pm UTC](https://discuss.elastic.co/t/plugin-not-loading/135394/6 "2018-06-12T19:56:53Z")

</div>

Ok, I resolved the problem. Instead of using the npm build run, I copied the plugin into a new folder, zipped it and normally installed it. It seems it might be a problem with npm build run.

---

<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 10, 2018, 7:56pm UTC](https://discuss.elastic.co/t/plugin-not-loading/135394/7 "2018-07-10T19:56:53Z")

</div>

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