# Node-red-contrib-ui-time-scheduler node not working

**URL:** <https://discourse.nodered.org/t/node-red-contrib-ui-time-scheduler-node-not-working/94141>\
**Category:** General\
**Tags:** node-red-dashboard\
**Created:** [24 December 2024 22:24 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-time-scheduler-node-not-working/94141 "2024-12-24T22:24:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luupus](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@Luupus](https://discourse.nodered.org/u/Luupus)\
**Post date:** [24 December 2024 22:24 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-time-scheduler-node-not-working/94141/1 "2024-12-24T22:24:35Z")

</div>

Hi, I am using v.4.02, and the node-red-contrib-ui-time-scheduler @marozz/ 0.0.3.  
If I try to use it, I get the error message below.  
Even with the original 1.17.2 I get the same problem.  
Has anyone an idea what to do?  
If I try to uninstall it, the uninstallation fails. Any help is highly appreciated.  
Cheers  
'

* * *

Unexpected Node Error

* * *

Info:  
Node object is not a node-red Node  
Stack:  
TypeError: Cannot read properties of undefined (reading 'length')  
at TimeSchedulerNode.Node.close (/usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/nodes/Node.js:319:41)  
at stopNode (/usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/flows/Flow.js:749:31)  
at Flow.stop (/usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/flows/Flow.js:388:35)  
at /usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/flows/index.js:481:43  
at Array.forEach ()  
at stop (/usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/flows/index.js:477:19)  
at /usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/flows/index.js:220:20

Please report this issue, including the information logged ...  
'

---

<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:** [25 December 2024 09:59 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-time-scheduler-node-not-working/94141/2 "2024-12-25T09:59:28Z")

</div>

Welcome to the forum @Luupus

> [@Luupus](#):
>
> If I try to uninstall it, the uninstallation fails.

What OS and hardware are you using?

Assuming that you have a conventional install, in a command window go into your .node-red folder and run  
`npm uninstall node-red-contrib-ui-time-scheduler`  
and copy/paste the full output here please. Copy/paste not screenshow please.

---

<div class="post-metadata">

**Author:** ![Luupus](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@Luupus](https://discourse.nodered.org/u/Luupus)\
**Post date:** [25 December 2024 18:28 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-time-scheduler-node-not-working/94141/3 "2024-12-25T18:28:19Z")

</div>

Just found out, I had the wrong UI library. Got the correct one and now it works perfectly.  
Thanks for the reply, Colin.

---

<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:** [8 January 2025 18:28 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-time-scheduler-node-not-working/94141/4 "2025-01-08T18:28:50Z")

</div>

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