# \[kibana 8.12.1\] Plugin generator generates a plugin shows server error

**URL:** <https://discuss.elastic.co/t/kibana-8-12-1-plugin-generator-generates-a-plugin-shows-server-error/354103>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [February 26, 2024, 9:15am UTC](https://discuss.elastic.co/t/kibana-8-12-1-plugin-generator-generates-a-plugin-shows-server-error/354103 "2024-02-26T09:15:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theone0305](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theone0305/32/132068_2.png) [@Theone0305](https://discuss.elastic.co/u/Theone0305)\
**Post date:** [February 26, 2024, 9:15am UTC](https://discuss.elastic.co/t/kibana-8-12-1-plugin-generator-generates-a-plugin-shows-server-error/354103/1 "2024-02-26T09:15:10Z")

</div>

Hi,  
I use Kibana 8.12.1 and make kiban plugin using " [**kbn-plugin-generator**] . [[kibana/packages/kbn-plugin-generator at main · elastic/kibana · GitHub](https://github.com/elastic/kibana/tree/master/packages/kbn-plugin-generator) ]. Unfortunately, after generating the plug-in and starting with "yarn start", I see this error:  
[ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 127.0.0.1:9200

 ![error server](https://us1.discourse-cdn.com/elastic/original/3X/f/f/ff5780cd449bbc80e019af07b3849987eab9839a.jpeg)

Has anyone encountered a similar error? How do you fix it?

Thanks,  
Tingting

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [March 8, 2024, 12:55pm UTC](https://discuss.elastic.co/t/kibana-8-12-1-plugin-generator-generates-a-plugin-shows-server-error/354103/2 "2024-03-08T12:55:13Z")

</div>

Can you confirm you have a running Elasticsearch cluster? You can spin up one with the `yarn es` command? More details about running Elasticsearch in development here:

> **[Running Elasticsearch during development | Kibana Guide \[7.17\] | Elastic](https://www.elastic.co/guide/en/kibana/7.17/running-elasticsearch.html)**
>
> Kibana provides you with several options to share \*Discover\* saved searches, dashboards, \*Visualize Library\* visualizations, and \*Canvas\* workpads with others, or on a website.

---

<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:** [April 5, 2024, 12:55pm UTC](https://discuss.elastic.co/t/kibana-8-12-1-plugin-generator-generates-a-plugin-shows-server-error/354103/3 "2024-04-05T12:55:26Z")

</div>

Closed on April 5, 2024, 12:55pm UTC

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