# Kibana Error: Uncaught TypeError: \_\_webpack\_require\_\_(...).register is not a function

**URL:** <https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987>\
**Category:** Kibana\
**Created:** [July 13, 2017, 10:30am UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987 "2017-07-13T10:30:16Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sujith](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sujith](https://discuss.elastic.co/u/Sujith)\
**Post date:** [July 13, 2017, 10:30am UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/1 "2017-07-13T10:30:16Z")

</div>

Hi Team,

I am getting below error while I open kibana.

Error: Uncaught TypeError: **webpack\_require** (...).register is not a function ([http://bngwidap108.aonnet.aon.net:5601/bundles/kibana.bundle.js?v=15382:319](http://bngwidap108.aonnet.aon.net:5601/bundles/kibana.bundle.js?v=15382:319))  
at window.onerror ([http://bngwidap108.aonnet.aon.net:5601/bundles/commons.bundle.js?v=15382:76:8884](http://bngwidap108.aonnet.aon.net:5601/bundles/commons.bundle.js?v=15382:76:8884))

please let us know why we are getting such error.

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [July 13, 2017, 4:24pm UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/2 "2017-07-13T16:24:35Z")

</div>

How did you originally install Kibana? What command are you using to start Kibana? What version are you on? Have you made any modifications to the source?

---

<div class="post-metadata">

**Author:** ![Sujith](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sujith](https://discuss.elastic.co/u/Sujith)\
**Post date:** [July 13, 2017, 5:44pm UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/3 "2017-07-13T17:44:14Z")

</div>

i installed kibana by NSSM tool and i installed as a service.

Current version of my ELK stack is 5.5.0

I didn't make any modification to the source at Al, since despite it was working fine til yesterday. but today we are getting this issue.

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [July 13, 2017, 6:47pm UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/4 "2017-07-13T18:47:18Z")

</div>

Hmmm sorry, I don't have any experience with NSSM. I can ask around. Does Kibana start up ok if you run it standalone without NSSM? If so, what does your NSSM config for Kibana look like?

---

<div class="post-metadata">

**Author:** ![snuids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/snuids/32/32346_2.png) [@snuids](https://discuss.elastic.co/u/snuids)\
**Post date:** [July 16, 2017, 12:00pm UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/5 "2017-07-16T12:00:03Z")

</div>

Hi,

I get exactly the same error as soon as I add a third party plugin in the plugin folder of Kibana. Looks like something changed somewhere. A pristine installation of Kibana is working as expected.

Regards,

Arnaud

---

<div class="post-metadata">

**Author:** ![Sujith](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sujith](https://discuss.elastic.co/u/Sujith)\
**Post date:** [July 17, 2017, 10:48am UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/6 "2017-07-17T10:48:33Z")

</div>

Hi Team,

As i See now, Kibana is working fine for me after i delete temp files and logs and restarted.

i hope, there seems to be the error while xpack installation.

---

<div class="post-metadata">

**Author:** ![Nikhil\_Utane](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikhil_utane/32/27547_2.png) [@Nikhil\_Utane](https://discuss.elastic.co/u/Nikhil_Utane)\
**Post date:** [August 4, 2017, 7:03am UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/7 "2017-08-04T07:03:36Z")

</div>

Sujith,

I am facing same error after installing traffic-light visualization.  
What temp files did you delete?

-Regards  
Nikhil

---

<div class="post-metadata">

**Author:** ![Sujith](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sujith](https://discuss.elastic.co/u/Sujith)\
**Post date:** [August 4, 2017, 3:44pm UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/8 "2017-08-04T15:44:38Z")

</div>

Hello @Nikhil_Utane

Please remove traffic-light visualization manually from PowerShell command and then stop ELK services and restart the server and again try to import or install. it will work

---

<div class="post-metadata">

**Author:** ![danielmotaleite](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmotaleite/32/19796_2.png) [@danielmotaleite](https://discuss.elastic.co/u/danielmotaleite)\
**Post date:** [August 4, 2017, 9:21pm UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/9 "2017-08-04T21:21:11Z")

</div>

i'm getting this in the network\_vis (build from the git version)  
i already removed, reinstalled, no luck... what weird error

---

<div class="post-metadata">

**Author:** ![Sujith](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sujith](https://discuss.elastic.co/u/Sujith)\
**Post date:** [August 7, 2017, 1:34pm UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/10 "2017-08-07T13:34:58Z")

</div>

@danielmotaleite

May i know which version of ELk Stack using in your system.?

---

<div class="post-metadata">

**Author:** ![abedoya](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@abedoya](https://discuss.elastic.co/u/abedoya)\
**Post date:** [August 8, 2017, 11:40am UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/11 "2017-08-08T11:40:19Z")

</div>

Same error here with custom visualization from traffic-light base.

Any idea.

---

<div class="post-metadata">

**Author:** ![danielmotaleite](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmotaleite/32/19796_2.png) [@danielmotaleite](https://discuss.elastic.co/u/danielmotaleite)\
**Post date:** [August 23, 2017, 4:47pm UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/12 "2017-08-23T16:47:57Z")

</div>

@Sujith Sorry for the delay

i'm using 5.5.1 in all the stack ... i plan to upgrade to 5.5.2 in the next few weeks, depending of the free time

---

<div class="post-metadata">

**Author:** ![Sujith](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sujith](https://discuss.elastic.co/u/Sujith)\
**Post date:** [August 24, 2017, 1:41pm UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/13 "2017-08-24T13:41:41Z")

</div>

@danielmotaleite that's okay 🙂

This might be the issue with the version also. Please plan to upgrade to 5.5.2 and your issue will resolve.

---

<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:** [September 21, 2017, 1:44pm UTC](https://discuss.elastic.co/t/kibana-error-uncaught-typeerror---webpack-require---register-is-not-a-function/92987/14 "2017-09-21T13:44:44Z")

</div>

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