# Kibana 7.5.1 Web Error: Private is not a function in bundles/commons.bundle.js

**URL:** <https://discuss.elastic.co/t/kibana-7-5-1-web-error-private-is-not-a-function-in-bundles-commons-bundle-js/289712>\
**Category:** Kibana\
**Created:** [November 19, 2021, 4:44pm UTC](https://discuss.elastic.co/t/kibana-7-5-1-web-error-private-is-not-a-function-in-bundles-commons-bundle-js/289712 "2021-11-19T16:44:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![thanhlam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thanhlam/32/78982_2.png) [@thanhlam](https://discuss.elastic.co/u/thanhlam)\
**Post date:** [November 19, 2021, 4:44pm UTC](https://discuss.elastic.co/t/kibana-7-5-1-web-error-private-is-not-a-function-in-bundles-commons-bundle-js/289712/1 "2021-11-19T16:44:46Z")

</div>

Hello,  
I just wonder if anyone here have seen following problem after installing a plugin to `kibana`, version 7.5.1. If I removed the plugin then everything worked fine.

After installing the plugin, kibana started fine but kibana WebUI loading encountered this error.

```auto
Version: 7.5.1
Build: 27610
Error: Private is not a function
CASTVisProvider@http://X.X.X.X:5601/bundles/commons.bundle.js:13:4812915
registerVisualization@http://X.X.X.X:5601/bundles/commons.bundle.js:13:2124698
@http://X.X.X.X:5601/bundles/commons.bundle.js:13:4812820
__webpack_require__ @http://X.X.X.X:5601/bundles/kibana.bundle.js:3:1463
@http://X.X.X.X:5601/bundles/commons.bundle.js:3:652714
__webpack_require__ @http://X.X.X.X:5601/bundles/kibana.bundle.js:3:1463
__kbnBundles__.kibana<@http://X.X.X.X:5601/bundles/kibana.bundle.js:3:712561
__webpack_require__ @http://X.X.X.X:5601/bundles/kibana.bundle.js:3:1463
requireLegacyFiles@http://X.X.X.X:5601/bundles/kibana.bundle.js:3:712163
start@http://X.X.X.X:5601/bundles/commons.bundle.js:13:1679919
_callee2$@http://X.X.X.X:5601/bundles/commons.bundle.js:13:1674885
tryCatch@http://X.X.X.X:5601/built_assets/dlls/vendors.bundle.dll.js:489:789856
invoke@http://X.X.X.X:5601/built_assets/dlls/vendors.bundle.dll.js:489:793713
defineIteratorMethods/</prototype[method]@http://X.X.X.X:5601/built_assets/dlls/vendors.bundle.dll.js:489:790980
asyncGeneratorStep@http://X.X.X.X:5601/bundles/commons.bundle.js:13:1666772
_next@http://X.X.X.X:5601/bundles/commons.bundle.js:13:1667101

```

With that error in kibana WebUI (http://:5601/), curl commands still worked. For example:

```auto
curl http://<IP address>:5601/app/features

```

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [November 19, 2021, 5:24pm UTC](https://discuss.elastic.co/t/kibana-7-5-1-web-error-private-is-not-a-function-in-bundles-commons-bundle-js/289712/2 "2021-11-19T17:24:53Z")

</div>

Can you provide some more information? Are you adding your own plugin? How are you starting Kibana?

---

<div class="post-metadata">

**Author:** ![thanhlam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thanhlam/32/78982_2.png) [@thanhlam](https://discuss.elastic.co/u/thanhlam)\
**Post date:** [November 19, 2021, 6:43pm UTC](https://discuss.elastic.co/t/kibana-7-5-1-web-error-private-is-not-a-function-in-bundles-commons-bundle-js/289712/3 "2021-11-19T18:43:57Z")

</div>

Hi,

We built our own plugin back with kibana 6.8. It was working then. But, I haven't checked that for a while and now we have kibana 7.5.1. It could be some dependencies or incompatible levels of node.js and so on. There are so many dependencies in effect here.

The OS is RHEL 8.4 on ppc64le architecture.  
kibana is started by using `systemctl start kibana`.  
Please let me know if any other info is needed for debugging this problem.

Thanks!

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [November 30, 2021, 3:13pm UTC](https://discuss.elastic.co/t/kibana-7-5-1-web-error-private-is-not-a-function-in-bundles-commons-bundle-js/289712/4 "2021-11-30T15:13:44Z")

</div>

Can you disable your plugin and try to start Kibana without it?

---

<div class="post-metadata">

**Author:** ![thanhlam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thanhlam/32/78982_2.png) [@thanhlam](https://discuss.elastic.co/u/thanhlam)\
**Post date:** [December 3, 2021, 9:42pm UTC](https://discuss.elastic.co/t/kibana-7-5-1-web-error-private-is-not-a-function-in-bundles-commons-bundle-js/289712/5 "2021-12-03T21:42:32Z")

</div>

Yes, if I removed the plugin, kibana worked as usual. It's confusing though that the error pointed to `commons.bundle.js`. Also, kibana shouldn't be blocking access to the WebUI because of a plugin problem. Some pointers on how to debug the plugin would be appreciated. Thanks!

---

<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:** [December 31, 2021, 9:42pm UTC](https://discuss.elastic.co/t/kibana-7-5-1-web-error-private-is-not-a-function-in-bundles-commons-bundle-js/289712/6 "2021-12-31T21:42:34Z")

</div>

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