# Optimizing and caching bundels for ml during developing my own kibana plugin

**URL:** <https://discuss.elastic.co/t/optimizing-and-caching-bundels-for-ml-during-developing-my-own-kibana-plugin/159661>\
**Category:** Kibana\
**Created:** [December 6, 2018, 6:44am UTC](https://discuss.elastic.co/t/optimizing-and-caching-bundels-for-ml-during-developing-my-own-kibana-plugin/159661 "2018-12-06T06:44:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wonki](https://avatars.discourse-cdn.com/v4/letter/w/aeb1de/32.png) [@wonki](https://discuss.elastic.co/u/wonki)\
**Post date:** [December 6, 2018, 6:44am UTC](https://discuss.elastic.co/t/optimizing-and-caching-bundels-for-ml-during-developing-my-own-kibana-plugin/159661/1 "2018-12-06T06:44:17Z")

</div>

Hi !  
I was developing my own kibana plugin.  
I made $my plugin name folder below kibana-extra folder by using kibana 6.4 plugin generator.  
But when i executed kibana,

Optimizing and caching bundels for ml, stateSessionStorageRedirect, status page, timelion, graph,  
monitoring, login, logout, dashboardViewer, apm and kibana. This may take a few minutes.

such a log appeared and it has not finished over 30 minutes.  
Is it normal? Do i have to wait more? or is there a something wrong in my settings?  
I'm using kibana 6.4, elasticsearch 6.4, node 8.11.4 and the shape of folder tree is

kibana  
|  
------------- (kibana source code like bin folder, package.json, scripts .etc and i run kibana is this folder)  
kibana-extras  
|  
------------- $my\_plugin\_name  
|  
---------------- ( package.json, index.js etc.)

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [December 12, 2018, 10:05pm UTC](https://discuss.elastic.co/t/optimizing-and-caching-bundels-for-ml-during-developing-my-own-kibana-plugin/159661/2 "2018-12-12T22:05:52Z")

</div>

@azasypkin can we please get some help here?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![wonki](https://avatars.discourse-cdn.com/v4/letter/w/aeb1de/32.png) [@wonki](https://discuss.elastic.co/u/wonki)\
**Post date:** [December 17, 2018, 9:32am UTC](https://discuss.elastic.co/t/optimizing-and-caching-bundels-for-ml-during-developing-my-own-kibana-plugin/159661/3 "2018-12-17T09:32:24Z")

</div>

Hi! bhavyarm, thanks for your reply.  
After much effort, I finally solved it myself !  
This problem was caused by the location of the executable folder when executing 'yarn start' command.  
I executed 'yarn start' in my\_plugin\_name folder, not kibana and it worked very well !

---

<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:** [January 14, 2019, 9:32am UTC](https://discuss.elastic.co/t/optimizing-and-caching-bundels-for-ml-during-developing-my-own-kibana-plugin/159661/4 "2019-01-14T09:32:29Z")

</div>

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