# I can't open the node-red

**URL:** <https://discourse.nodered.org/t/i-cant-open-the-node-red/87135>\
**Category:** General\
**Created:** [10 April 2024 19:03 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135 "2024-04-10T19:03:44Z")\
**Posts on this page:** 18\
**Page:** 2

<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:** [11 April 2024 08:02 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/21 "2024-04-11T08:02:36Z")

</div>

> [@smanjunath211](#):
>
> i tried 18 and 20 both, same problem.

Can you please provide full version.

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [11 April 2024 08:03 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/22 "2024-04-11T08:03:09Z")

</div>

its on the other PC, i will try to get the copy/paste

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [11 April 2024 08:04 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/23 "2024-04-11T08:04:46Z")

</div>

node 16 is working fine.

EDIT:

```auto
C:\Users\oee.hsr>node-red
11 Apr 13:34:45 - [info]

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

11 Apr 13:34:45 - [info] Node-RED version: v3.1.8
11 Apr 13:34:45 - [info] Node.js version: v16.20.2
11 Apr 13:34:45 - [info] Windows_NT 10.0.22631 x64 LE
11 Apr 13:34:46 - [info] Loading palette nodes
11 Apr 13:34:47 - [info] Settings file : C:\Users\oee.hsr\.node-red\settings.js
11 Apr 13:34:47 - [info] Context store : 'default' [module=memory]
11 Apr 13:34:47 - [info] User directory : C:\Users\oee.hsr\.node-red
11 Apr 13:34:47 - [warn] Projects disabled : editorTheme.projects.enabled=false
11 Apr 13:34:47 - [info] Flows file : C:\Users\oee.hsr\.node-red\flows.json
11 Apr 13:34:47 - [info] Creating new flow file
11 Apr 13:34:47 - [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.
---------------------------------------------------------------------

11 Apr 13:34:47 - [info] Server now running at http://127.0.0.1:1880/
11 Apr 13:34:47 - [warn] Encrypted credentials not found
11 Apr 13:34:47 - [info] Starting flows
11 Apr 13:34:47 - [info] Started flows
11 Apr 13:36:29 - [info] Stopping flows
11 Apr 13:36:29 - [info] Stopped flows

```

---

<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:** [11 April 2024 08:07 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/24 "2024-04-11T08:07:29Z")

</div>

The point is i suspect somewhere between Node 18.19.0 and Latest nodejs release, something has changed. I cannot ascertain that from the Major number only.

Please provide FULL Node Version numbers.

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [11 April 2024 08:07 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/25 "2024-04-11T08:07:46Z")

</div>

Node 18 not working....

```auto

C:\Users\oee.hsr>node-red
11 Apr 13:29:34 - [info]

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

11 Apr 13:29:34 - [info] Node-RED version: v3.1.8
11 Apr 13:29:34 - [info] Node.js version: v18.20.2
11 Apr 13:29:34 - [info] Windows_NT 10.0.22631 x64 LE
11 Apr 13:29:34 - [error] Failed to start server:
11 Apr 13:29:34 - [error] Error: spawn EINVAL
    at ChildProcess.spawn (node:internal/child_process:414:11)
    at spawn (node:child_process:761:9)
    at Object.execFile (node:child_process:351:17)
    at C:\Users\oee.hsr\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\registry\lib\installer.js:581:27
    at new Promise (<anonymous>)
    at Object.checkPrereq (C:\Users\oee.hsr\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\registry\lib\installer.js:580:16)
    at Object.load (C:\Users\oee.hsr\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\registry\lib\index.js:59:22)
    at C:\Users\oee.hsr\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\index.js:162:29

```

---

<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:** [11 April 2024 08:08 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/26 "2024-04-11T08:08:35Z")

</div>

> [@smanjunath211](#):
>
> Node 18 not working

> [@smanjunath211](#):
>
> `Node.js version: v18.20.2`

Please, if you can, try with Node 18.19.0

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [11 April 2024 08:08 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/27 "2024-04-11T08:08:39Z")

</div>

i have edited my replies of both working and not working

nothing else changed

only node version 18 and 16

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [11 April 2024 08:10 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/28 "2024-04-11T08:10:24Z")

</div>

> [@Steve-Mcl](#):
>
> try with Node 18.19.0

i cant find that in the drop down.

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

---

<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:** [11 April 2024 08:10 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/29 "2024-04-11T08:10:50Z")

</div>

> [@Steve-Mcl](#):
>
> Node 18.19.0

  

From the donwload page [Node.js — Download Node.js®](https://nodejs.org/en/download) :

> Check out all available Node.js [download options](https://nodejs.org/dist/)

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [11 April 2024 08:15 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/30 "2024-04-11T08:15:02Z")

</div>

i have never installed like this., let me try

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [11 April 2024 08:39 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/31 "2024-04-11T08:39:03Z")

</div>

sorry, i am not able to do. i can only do with an msi file.

---

<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:** [11 April 2024 08:48 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/32 "2024-04-11T08:48:25Z")

</div>

on the release page: [Node.js — Node v18.19.0 (LTS)](https://nodejs.org/en/blog/release/v18.19.0) ...

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

Windows 64-bit Installer: [https://nodejs.org/dist/v18.19.0/node-v18.19.0-x64.msi](https://nodejs.org/dist/v18.19.0/node-v18.19.0-x64.msi)

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [11 April 2024 08:53 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/33 "2024-04-11T08:53:57Z")

</div>

```auto

C:\Users\oee.hsr>node-red
11 Apr 14:22:40 - [info]

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

11 Apr 14:22:40 - [info] Node-RED version: v3.1.8
11 Apr 14:22:40 - [info] Node.js version: v18.19.0
11 Apr 14:22:40 - [info] Windows_NT 10.0.22631 ia32 LE
11 Apr 14:22:41 - [info] Loading palette nodes
11 Apr 14:22:42 - [info] Settings file : C:\Users\oee.hsr\.node-red\settings.js
11 Apr 14:22:42 - [info] Context store : 'default' [module=memory]
11 Apr 14:22:42 - [info] User directory : \Users\oee.hsr\.node-red
11 Apr 14:22:42 - [warn] Projects disabled : editorTheme.projects.enabled=false
11 Apr 14:22:42 - [info] Flows file : \Users\oee.hsr\.node-red\flows.json
11 Apr 14:22:42 - [info] Creating new flow file
11 Apr 14:22:42 - [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.
---------------------------------------------------------------------

11 Apr 14:22:42 - [warn] Encrypted credentials not found
11 Apr 14:22:42 - [info] Server now running at http://127.0.0.1:1880/
11 Apr 14:22:42 - [info] Starting flows
11 Apr 14:22:42 - [info] Started flows

```

---

<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:** [11 April 2024 09:02 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/34 "2024-04-11T09:02:27Z")

</div>

Thank you. This looks promising.

Certainly looking like something has changed in most recent LTS of V18 and V20.

Would be good to know if anyone is running the version IMMEDIATELY before current LTS versions `18.20.2` and `20.12.2`.

Is anyone running node-red on `18.20.1` or `20.12.1`?

---

<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:** [11 April 2024 09:14 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/35 "2024-04-11T09:14:09Z")

</div>

The latest versions of Node 18/20 include a security fix that has broken Node-RED on Windows.

We'll have a fix for Node-RED later today.

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [11 April 2024 11:01 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/36 "2024-04-11T11:01:28Z")

</div>

On another machine, successfully running with 20.11.1

```auto
11 Apr 15:17:25 - [info] 

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

11 Apr 15:17:25 - [info] Node-RED version: v3.1.0-beta.2
11 Apr 15:17:25 - [info] Node.js version: v20.11.1
11 Apr 15:17:25 - [info] Windows_NT 10.0.19045 x64 LE
11 Apr 15:17:28 - [info] Loading palette nodes
11 Apr 15:17:39 - [info] Dashboard version 3.6.5 started at /ui
11 Apr 15:17:41 - [info] Settings file : C:\Users\OEEHo\NR-Live\settings.js
11 Apr 15:17:41 - [info] HTTP Static : C:\temp > /
11 Apr 15:17:41 - [info] Context store : 'memoryOnly' [module=memory]
11 Apr 15:17:41 - [info] Context store : 'file' [module=localfilesystem]
11 Apr 15:17:41 - [info] User directory : C:\Windows\system32\config\systemprofile\.node-red
11 Apr 15:17:41 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
11 Apr 15:17:41 - [info] Flows file : c:/users/oeeho/nr-live/flows.json
11 Apr 15:17:41 - [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.
---------------------------------------------------------------------

11 Apr 15:17:42 - [info] Server now running at http://127.0.0.1:1885/
11 Apr 15:17:42 - [info] Starting flows

```

---

<div class="post-metadata">

**Author:** ![mobbarley](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@mobbarley](https://discourse.nodered.org/u/mobbarley)\
**Post date:** [11 April 2024 21:40 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/37 "2024-04-11T21:40:08Z")

</div>

Thanks Knolleary and Steve-Mcl - appreciate the help!

---

<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:** [10 July 2024 21:40 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135/38 "2024-07-10T21:40:10Z")

</div>

Closed on 10 July 2024 21:40 UTC

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

[Previous page](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135.md?page=1)
