Plugin not loading


#1

Hello,

I created my custom kibana plugin following the template in 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:


kibana start:

Appreciate any help.


(Jon Budzenski) #2

Hmm sounds like a bug, possibly related to 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?


#3

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


(Jon Budzenski) #4

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?


#5

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.


#6

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.


(system) #7

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