# Do I need to worry about these errors?

**URL:** <https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386>\
**Category:** General\
**Created:** [10 March 2021 08:27 UTC](https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386 "2021-03-10T08:27:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [10 March 2021 08:27 UTC](https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386/1 "2021-03-10T08:27:22Z")

</div>

While working on something else I tried restarting NR on this machine.

I see these errors... To call them by what they seem to call themselves.

```auto
TypeError: Cannot read property 'config' of null
    at addWidget (/home/me/.node-red/node_modules/node-red-dashboard/index.js:73:39)
    at Object.addWidget (/home/me/.node-red/node_modules/node-red-dashboard/index.js:137:48)
    at new LEDNodeConstructor (/home/me/.node-red/node_modules/node-red-contrib-ui-led/dist/nodes/ui_led/ui_led.js:30:29)
    at Object.createNode (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/util.js:493:31)
    at Flow.start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:194:48)
    at start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/index.js:345:33)
    at /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/index.js:210:21
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
TypeError: Cannot read property 'config' of null
    at addWidget (/home/me/.node-red/node_modules/node-red-dashboard/index.js:73:39)
    at Object.addWidget (/home/me/.node-red/node_modules/node-red-dashboard/index.js:137:48)
    at new LEDNodeConstructor (/home/me/.node-red/node_modules/node-red-contrib-ui-led/dist/nodes/ui_led/ui_led.js:30:29)
    at Object.createNode (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/util.js:493:31)
    at Flow.start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:194:48)
    at start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/index.js:345:33)
    at /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/index.js:210:21
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

```

As I'm not the sharpest tool in the shed, I can't see how to find out _who_ is causing these errors?

Is the nodes, their config, or something else?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 March 2021 08:33 UTC](https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386/2 "2021-03-10T08:33:16Z")

</div>

> [@Trying\_to\_learn](#):
>
> I can't see how to find out _who_ is causing these errors

read line 4...

> [@Trying\_to\_learn](#):
>
> `node-red-contrib-ui-led/dist/nodes/ui_led/ui_led.js:30:29)`

essentially, something in ui\_led.js on line 30, col 29.

you should raise this as an issue with author.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [10 March 2021 08:35 UTC](https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386/3 "2021-03-10T08:35:17Z")

</div>

> As I'm not the sharpest tool in the shed

Thanks.

I'll pass on this to the writer.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [10 March 2021 08:42 UTC](https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386/4 "2021-03-10T08:42:30Z")

</div>

Which version of dashboard are you running ?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [10 March 2021 08:46 UTC](https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386/5 "2021-03-10T08:46:18Z")

</div>

dashboard 2.26.2

---

<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:** [10 March 2021 08:57 UTC](https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386/6 "2021-03-10T08:57:01Z")

</div>

Probably worth updating to the latest version of the node before raising it as it is still under active development. Also the dashboard too of course. No point raising issues when not on latest.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [10 March 2021 08:58 UTC](https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386/7 "2021-03-10T08:58:00Z")

</div>

yes - I have a feeling we patched a small fix for loading config a while back but must admit can't find exact version now. (so hopefully this is fixed already, but ....)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [10 March 2021 09:01 UTC](https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386/8 "2021-03-10T09:01:27Z")

</div>

Well, just updated the dashboard and LED....

Same thing:

```auto
10 Mar 19:58:16 - [info] Starting flows
TypeError: Cannot read property 'config' of null
    at addWidget (/home/me/.node-red/node_modules/node-red-dashboard/index.js:73:39)
    at Object.addWidget (/home/me/.node-red/node_modules/node-red-dashboard/index.js:137:48)
    at new LEDNodeConstructor (/home/me/.node-red/node_modules/node-red-contrib-ui-led/dist/nodes/ui_led/ui_led.js:30:29)
    at Object.createNode (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/util.js:493:31)
    at Flow.start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:194:48)
    at start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/index.js:345:33)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

```

 ![Screenshot from 2021-03-10 19-59-34](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/5/d56a6c71f0fe0df2f6e79074b8dca948988e9490.png)

 ![Screenshot from 2021-03-10 19-59-40](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/5/3579fd1ed1eebfccbaaf239e30174f2ec70e5a64.png)

![Screenshot from 2021-03-10 19-59-45](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/6/167e4a0a54a9726ab0fb2695543a98b061293e9f.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [9 May 2021 10:19 UTC](https://discourse.nodered.org/t/do-i-need-to-worry-about-these-errors/42386/10 "2021-05-09T10:19:11Z")

</div>

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