# Problems when starting the node red

**URL:** <https://discourse.nodered.org/t/problems-when-starting-the-node-red/95115>\
**Category:** General\
**Created:** [4 February 2025 16:14 UTC](https://discourse.nodered.org/t/problems-when-starting-the-node-red/95115 "2025-02-04T16:14:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![amospinamo](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@amospinamo](https://discourse.nodered.org/u/amospinamo)\
**Post date:** [4 February 2025 16:14 UTC](https://discourse.nodered.org/t/problems-when-starting-the-node-red/95115/1 "2025-02-04T16:14:09Z")

</div>

I have NODE RED version 22.13.1 installed on Windows 10, when I try to run it in the windows editor, I get the following message:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/9/1999ef4bf5684ad1834dd4f5432b3b7a7c2f4289.png)  
What can it be?

---

<div class="post-metadata">

**Author:** ![KarolisL](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@KarolisL](https://discourse.nodered.org/u/KarolisL)\
**Post date:** [4 February 2025 17:15 UTC](https://discourse.nodered.org/t/problems-when-starting-the-node-red/95115/2 "2025-02-04T17:15:19Z")

</div>

> [@Node-Red Error: spawn EINVAL](https://discourse.nodered.org/t/node-red-error-spawn-einval/94997):
>

---

<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:** [4 February 2025 18:10 UTC](https://discourse.nodered.org/t/problems-when-starting-the-node-red/95115/3 "2025-02-04T18:10:40Z")

</div>

> [@amospinamo](#):
>
> I have NODE RED version 22.13.1

Actually you have version 3.1.3. Upgrade to the latest version.

---

<div class="post-metadata">

**Author:** ![amospinamo](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@amospinamo](https://discourse.nodered.org/u/amospinamo)\
**Post date:** [4 February 2025 19:17 UTC](https://discourse.nodered.org/t/problems-when-starting-the-node-red/95115/4 "2025-02-04T19:17:53Z")

</div>

```auto
[https://nodejs.org/en/](https://nodejs.org/en/)
On this page only the version appears:
v22.13.1, where can I download the latest

```

---

<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:** [4 February 2025 19:36 UTC](https://discourse.nodered.org/t/problems-when-starting-the-node-red/95115/5 "2025-02-04T19:36:10Z")

</div>

That is nodejs not node red. Just install node red as in the getting started guide for Windows and it will update to the latest.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [4 February 2025 19:36 UTC](https://discourse.nodered.org/t/problems-when-starting-the-node-red/95115/6 "2025-02-04T19:36:53Z")

</div>

You have node.js v22.13.1, which may well be the latest version.

But you have Node-red version 3.1.3 which is very definitely not the latest version.

See [https://nodered.org/docs/getting-started/windows](https://nodered.org/docs/getting-started/windows) for installation/upgrade instructions.

---

<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:** [4 February 2025 20:17 UTC](https://discourse.nodered.org/t/problems-when-starting-the-node-red/95115/7 "2025-02-04T20:17:21Z")

</div>

That version of Node-JS is too new for your version of Node-RED due to a security patch they did recently

Searching that error "Error: spawn EINVAL" would have lead you to:

- [Not starting on window 11 "Error: spawn EINVAL" - #2 by knolleary](https://discourse.nodered.org/t/not-starting-on-window-11-error-spawn-einval/87153/2)
- [Error: spawn EINVAL - #2 by GogoVega](https://discourse.nodered.org/t/error-spawn-einval/87181/2)
- [Estou tendo problemas para rodar o node red - #2 by jbudd](https://discourse.nodered.org/t/estou-tendo-problemas-para-rodar-o-node-red/87226/2)
- and so on....

In short, update Node-RED to latest

```auto
npm i -g node-red@latest

```

---

<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:** [5 May 2025 20:17 UTC](https://discourse.nodered.org/t/problems-when-starting-the-node-red/95115/8 "2025-05-05T20:17:46Z")

</div>

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