# Why dashboard 2 red nodes error when loading previous Dashboard can

**URL:** https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450
**Category:** Dashboard
**Tags:** node-red-dashboard
**Created:** [6 June 2025 12:30 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450 "2025-06-06T12:30:21Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![hafizh](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@hafizh](https://discourse.nodered.org/u/hafizh)
#### Post date: [6 June 2025 12:30 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450/1 "2025-06-06T12:30:21Z")

</div>

![Screenshot 2025-06-06 192724](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/8/b8c60147591691c986f96ccd394b158cdddcc43e.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: [6 June 2025 14:15 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450/2 "2025-06-06T14:15:17Z")

</div>

Welcome to the forum.

Please stop node red and start it again in a command window and post the full output here.

---

<div class="post-metadata">

### Author: ![hafizh](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@hafizh](https://discourse.nodered.org/u/hafizh)
#### Post date: [7 June 2025 00:32 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450/3 "2025-06-07T00:32:53Z")

</div>

still can't open dashboard

 ![Screenshot 2025-06-07 073215](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/3/636519ea7f6c4ccaa001cf0a022dfa0f88f2b0dc.png)

---

<div class="post-metadata">

### Author: ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)
#### Post date: [7 June 2025 00:38 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450/4 "2025-06-07T00:38:09Z")

</div>

Can you copy and paste the whole text from node red startup ?

---

<div class="post-metadata">

### Author: ![hafizh](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@hafizh](https://discourse.nodered.org/u/hafizh)
#### Post date: [7 June 2025 09:45 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450/5 "2025-06-07T09:45:56Z")

</div>

7 Jun 16:44:06 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
7 Jun 16:44:06 - [info] Starting flows  
7 Jun 16:44:06 - [info] [ui-base:ui\_template] Node-RED Dashboard 2.0 (v1.24.2) started at /dashboard  
7 Jun 16:44:06 - [info] [ui-base:ui\_template] Created [socket.io](http://socket.io) server bound to Node-RED port at path /dashboard/socket.io  
7 Jun 16:44:06 - [info] Started flows  
7 Jun 16:45:04 - [info] [ui-base:ui\_template] Disconnected sjQsxxsJEefD1VXGAAAB due to transport close  
7 Jun 16:45:05 - [info] [ui-base:ui\_template] Disconnected sqwpSFHr9tZ01iM4AAAD due to transport close  
7 Jun 16:45:05 - [info] [ui-base:ui\_template] Disconnected KlQ7Ntr4BCn\_nN\_tAAAF due to transport close

---

<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 June 2025 09:50 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450/6 "2025-06-07T09:50:32Z")

</div>

The full log from the startup command that you type. Even knowing how you start node-red may be important.

---

<div class="post-metadata">

### Author: ![hafizh](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@hafizh](https://discourse.nodered.org/u/hafizh)
#### Post date: [7 June 2025 13:59 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450/7 "2025-06-07T13:59:55Z")

</div>

```auto
7 Jun 20:57:03 - [info]

Welcome to Node-RED
===================

7 Jun 20:57:03 - [info] Node-RED version: v4.0.9
7 Jun 20:57:03 - [info] Node.js version: v22.16.0
7 Jun 20:57:03 - [info] Windows_NT 10.0.26100 x64 LE
7 Jun 20:57:03 - [info] Loading palette nodes
7 Jun 20:57:06 - [info] node-red-contrib-telegrambot version: v16.2.0
7 Jun 20:57:06 - [info] Dashboard version 3.3.1 started at /ui
'C:\Users\Hafizh' is not recognized as an internal or external command,
operable program or batch file.
7 Jun 20:57:06 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
7 Jun 20:57:06 - [warn] ------------------------------------------------------
7 Jun 20:57:06 - [warn] [tuya-led-node/tuya-led] ReferenceError: TuyaLedNode is not defined (line:139)
7 Jun 20:57:06 - [warn] ------------------------------------------------------
7 Jun 20:57:06 - [info] Settings file : C:\Users\Hafizh Mahmud S\.node-red\settings.js
7 Jun 20:57:06 - [info] Context store : 'default' [module=memory]
7 Jun 20:57:06 - [info] User directory : \Users\Hafizh Mahmud S\.node-red
7 Jun 20:57:06 - [warn] Projects disabled : editorTheme.projects.enabled=false
7 Jun 20:57:06 - [info] Flows file : \Users\Hafizh Mahmud S\.node-red\flows.json
7 Jun 20:57:06 - [info] Server now running at http://127.0.0.1:1880/
7 Jun 20:57:06 - [warn]

---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------

7 Jun 20:57:06 - [info] Starting flows
7 Jun 20:57:06 - [info] [ui-base:ui_template] Node-RED Dashboard 2.0 (v1.24.2) started at /dashboard
7 Jun 20:57:06 - [info] [ui-base:ui_template] Created socket.io server bound to Node-RED port at path /dashboard/socket.io
7 Jun 20:57:06 - [info] Started flows
7 Jun 20:58:45 - [info] [ui-base:ui_template] Disconnected 8YNj9oVwgtqXrUhoAAAB due to transport close
7 Jun 20:58:45 - [info] [ui-base:ui_template] Disconnected A75jnE2AyfOrX6d5AAAD due to transport close

```

[Admin Edit]: Added triple backticks around log to prevent the forum interpretting it as markdown

---

<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 June 2025 14:35 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450/8 "2025-06-07T14:35:37Z")

</div>

> [@hafizh](#):
>
> ```auto
> 'C:\Users\Hafizh' is not recognized as an internal or external command,
> operable program or batch file.
> 
> ```

I suspect the problem may be caused by having spaces in the folder name.

---

<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 June 2025 14:40 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450/9 "2025-06-07T14:40:06Z")

</div>

Or it might be related to

> [@hafizh](#):
>
> `7 Jun 20:57:06 - [warn] [tuya-led-node/tuya-led] ReferenceError: TuyaLedNode is not defined (line:139)`

Which may be because that node has not been updated in 5 years so may not work any more. Try uninstalling that node, restart node-red, and see if it fixes it. Always fix the problems that are easily sorted before worrying about the more difficult ones.

---

<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: [7 July 2025 14:40 UTC](https://discourse.nodered.org/t/why-dashboard-2-red-nodes-error-when-loading-previous-dashboard-can/97450/10 "2025-07-07T14:40:14Z")

</div>

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