Failed at installing an example plugin

I tried to install this plugin : GitHub - elastic/generator-kibana-plugin: DEPRECATED Yeoman Generator for Kibana Plugins, please use https://github.com/elastic/template-kibana-plugin/ as a kick-starter to learn how develop plugins with kibana in general.
I followed the steps but got an error running it from the plugin folder.
I tried "both npm start" and "npm start -- --no-ssl"
But I get this error on console :
sana@sana:~/my-new-plugin$ npm start -- --no-ssl

my_new_plugin@0.0.0 start /home/sana/my-new-plugin
plugin-helpers start "--no-ssl"

watching for changes (377 files)
log [11:45:18.662] [info][listening] basePath Proxy running at http://localhost:5601/czi
optmzr log [11:45:21.559] [info][status][ui settings] Status changed from uninitialized to disabled - uiSettings.enabled config is set to false
server log [11:45:21.772] [info][optimize] Waiting for optimizer completion
optmzr log [11:45:21.807] [info][optimize] Lazy optimization of bundles for my_new_plugin, kibana, stateSessionStorageRedirect, timelion, sense-tests and status_page ready
optmzr log [11:45:21.826] [info][optimize] Lazy optimization started
optmzr log [11:45:21.842] [info] Plugin initialization disabled.
server log [11:45:21.885] [info][status][plugin:kibana@6.0.0-alpha2] Status changed from uninitialized to green - Ready
server log [11:45:21.965] [info][status][plugin:elasticsearch@6.0.0-alpha2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:45:21.983] [info][status][plugin:my_new_plugin@0.0.0] Status changed from uninitialized to green - Ready
server log [11:45:21.997] [info][status][plugin:console@6.0.0-alpha2] Status changed from uninitialized to green - Ready
server log [11:45:22.002] [warning] You're running Kibana 6.0.0-alpha2 with some different versions of Elasticsearch. Update Kibana or Elasticsearch to the same version to prevent compatibility issues: v6.0.0-alpha1 @ 127.0.0.1:9200 (127.0.0.1)
server log [11:45:22.031] [info][status][plugin:elasticsearch@6.0.0-alpha2] Status changed from yellow to green - Kibana index ready
server log [11:45:22.038] [info][status][plugin:metrics@6.0.0-alpha2] Status changed from uninitialized to green - Ready
server log [11:45:22.314] [info][status][plugin:timelion@6.0.0-alpha2] Status changed from uninitialized to green - Ready
server log [11:45:22.319] [info][listening] Server running at http://localhost:5603
server log [11:45:22.320] [info][status][ui settings] Status changed from uninitialized to green - Ready
log [11:45:44.719] [error][client][connection] Error: Parse Error
at Error (native)
log [11:45:44.730] [error][client][connection] Error: Parse Error
at Error (native)
log [11:45:46.289] [error][client][connection] Error: Parse Error
at Error (native)
log [11:45:46.316] [error][client][connection] Error: Parse Error
at Error (native)
log [11:45:46.683] [error][client][connection] Error: Parse Error
at Error (native)
log [11:45:46.696] [error][client][connection] Error: Parse Error
at Error (native)
optmzr log [11:45:49.242] [info][optimize] Lazy optimization success in 27.41 seconds
optmzr log [11:46:17.329] [info][optimize] Lazy optimization started
optmzr log [11:46:18.402] [info][optimize] Lazy optimization success in 1.07 seconds
log [11:47:44.820] [error][client][connection] Error: Parse Error
at Error (native)
log [11:47:44.821] [error][client][connection] Error: Parse Error
at Error (native)
log [11:47:46.398] [error][client][connection] Error: Parse Error
at Error (native)
log [11:47:46.399] [error][client][connection] Error: Parse Error
at Error (native)
I also Included a screenshot for the browser when I want to access the plugin in question.

I hope someone can help me try to fix this, I want to continue learning the plugin develpment

That plugin generator is out-of-date right now, as we're working on refactoring the whole plugin development. This is the PR and after it's merged in, it's going to make development of plugins a lot easier:

Heyy Marius_Dragomir, thank you for your quick answer.
Can you recommend resources that are not out of date for developing plug-ins for kibana?
Thank you a lot!

Sadly, there isn't one right now as its still work in progress. We're actively testing it right now it should probably make it in Kibana 6.0.0.

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