# NodeRed not loading up when adding modules to the flow

**URL:** <https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755>\
**Category:** General\
**Created:** [6 December 2022 09:23 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755 "2022-12-06T09:23:36Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Vikas-Konaparthi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikas-konaparthi/32/70446_2.png) [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Post date:** [7 December 2022 12:25 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/21 "2022-12-07T12:25:55Z")

</div>

ok thank You colin, but what is getting happened after installing modules in nodered flow is there any url change

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [7 December 2022 13:27 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/22 "2022-12-07T13:27:41Z")

</div>

Didn't someone suggest earlier that the nodes/messages url is for fetching message calalogues for translations, or something like that. Is nginx blocking that url?

---

<div class="post-metadata">

**Author:** ![Vikas-Konaparthi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikas-konaparthi/32/70446_2.png) [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Post date:** [7 December 2022 14:04 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/23 "2022-12-07T14:04:20Z")

</div>

But it is not blocking before addition of modules

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [7 December 2022 14:50 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/24 "2022-12-07T14:50:39Z")

</div>

In that case it is the fact that the modules are installed is causing that data to be fetched.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [7 December 2022 14:52 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/25 "2022-12-07T14:52:50Z")

</div>

As @Steve-Mcl said : Some plugins and nodes load a message catalog (for internationalisation) from the endpoint `messages`

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [7 December 2022 15:44 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/26 "2022-12-07T15:44:03Z")

</div>

Is it one specific module that you've installed that triggers this behaviour? This could simply be a bug with that one particular module.

---

<div class="post-metadata">

**Author:** ![Vikas-Konaparthi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikas-konaparthi/32/70446_2.png) [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Post date:** [8 December 2022 04:38 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/27 "2022-12-08T04:38:11Z")

</div>

it is not a bug related to the particular module because i have installed node red dash board and someother too

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [8 December 2022 07:05 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/28 "2022-12-08T07:05:10Z")

</div>

How do you know it is not one of those causing the problem?

---

<div class="post-metadata">

**Author:** ![Vikas-Konaparthi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikas-konaparthi/32/70446_2.png) [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Post date:** [8 December 2022 08:13 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/29 "2022-12-08T08:13:23Z")

</div>

So any other module should also work right nothing is getting worked up there

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [8 December 2022 09:04 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/30 "2022-12-08T09:04:52Z")

</div>

Do you mean that with no extra nodes installed that it works ok, but as soon as you install just node-red-dashboard that you see the problem?

Check in the browser console on the working system that you do not see any errors. Do not rely on it just appearing to work.

---

<div class="post-metadata">

**Author:** ![Vikas-Konaparthi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikas-konaparthi/32/70446_2.png) [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Post date:** [14 December 2022 11:41 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/32 "2022-12-14T11:41:10Z")

</div>

1. {code: "unexpected\_error", message: "Cannot read properties of undefined (reading 'indexOf')"}

2. code: "unexpected\_error"

3. message: "Cannot read properties of undefined (reading 'indexOf')"

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [14 December 2022 11:47 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/33 "2022-12-14T11:47:07Z")

</div>

@Vikas-Konaparthi it is quite hard to help if you post an error message with no context on where you see it. Is that in the browser javascript console? Is there _any_ more information such as a stack trace or anything in the Node-RED log itself?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [14 December 2022 12:08 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/34 "2022-12-14T12:08:07Z")

</div>

Also the question I asked

> [@Colin](#):
>
> Do you mean that with no extra nodes installed that it works ok, but as soon as you install just node-red-dashboard that you see the problem?

---

<div class="post-metadata">

**Author:** ![Vikas-Konaparthi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikas-konaparthi/32/70446_2.png) [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Post date:** [14 December 2022 14:43 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/35 "2022-12-14T14:43:11Z")

</div>

Yes Colin as soon as I install I am getting error this is any issue with the nginx nodered related thing.

---

<div class="post-metadata">

**Author:** ![Vikas-Konaparthi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikas-konaparthi/32/70446_2.png) [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Post date:** [14 December 2022 14:43 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/36 "2022-12-14T14:43:33Z")

</div>

thats an error in browser console

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [14 December 2022 15:33 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/37 "2022-12-14T15:33:26Z")

</div>

What are you now seeing in the node-red log on startup?

---

<div class="post-metadata">

**Author:** ![Vikas-Konaparthi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikas-konaparthi/32/70446_2.png) [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Post date:** [15 December 2022 04:35 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/38 "2022-12-15T04:35:13Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/8/181368c27561f479d700784eada57b24fed20d74.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [15 December 2022 07:12 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/39 "2022-12-15T07:12:39Z")

</div>

Can you set the log level to trace in settings.js, restart node red and post the startup log please. That is the log with the Welcome to node red message.  
If you connect the browser locally, so not through nginx, is it ok?

---

<div class="post-metadata">

**Author:** ![Vikas-Konaparthi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikas-konaparthi/32/70446_2.png) [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Post date:** [15 December 2022 09:40 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/40 "2022-12-15T09:40:49Z")

</div>

Same as above it is stuck at Loading Node catalogs and in the console i can see

GET

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/8/e89f2e5ec8416b16e871e3c2b463fbf60c93dc79.png)

This is happening only when using it through nginx

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [15 December 2022 10:02 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/41 "2022-12-15T10:02:34Z")

</div>

Can you post your package.json file please.

[Previous page](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755.md?page=1)

[Next page](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755.md?page=3)
