# Failed at installing an example plugin

**URL:** <https://discuss.elastic.co/t/failed-at-installing-an-example-plugin/88078>\
**Category:** Kibana\
**Created:** [June 2, 2017, 11:59am UTC](https://discuss.elastic.co/t/failed-at-installing-an-example-plugin/88078 "2017-06-02T11:59:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bdriss\_Sana](https://avatars.discourse-cdn.com/v4/letter/b/bbce88/32.png) [@Bdriss\_Sana](https://discuss.elastic.co/u/Bdriss_Sana)\
**Post date:** [June 2, 2017, 11:59am UTC](https://discuss.elastic.co/t/failed-at-installing-an-example-plugin/88078/1 "2017-06-02T11:59:00Z")

</div>

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/](https://github.com/elastic/generator-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](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](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.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/3/9/395d4007691ad5aefd17ac88bccbe824bcd459a8.png)

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

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [June 2, 2017, 12:09pm UTC](https://discuss.elastic.co/t/failed-at-installing-an-example-plugin/88078/2 "2017-06-02T12:09:32Z")

</div>

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:

> <https://github.com/elastic/kibana/pull/11786>

---

<div class="post-metadata">

**Author:** ![Bdriss\_Sana](https://avatars.discourse-cdn.com/v4/letter/b/bbce88/32.png) [@Bdriss\_Sana](https://discuss.elastic.co/u/Bdriss_Sana)\
**Post date:** [June 2, 2017, 12:13pm UTC](https://discuss.elastic.co/t/failed-at-installing-an-example-plugin/88078/3 "2017-06-02T12:13:04Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [June 2, 2017, 12:15pm UTC](https://discuss.elastic.co/t/failed-at-installing-an-example-plugin/88078/4 "2017-06-02T12:15:58Z")

</div>

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.

---

<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:** [June 30, 2017, 12:16pm UTC](https://discuss.elastic.co/t/failed-at-installing-an-example-plugin/88078/5 "2017-06-30T12:16:08Z")

</div>

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