# Node-Red Error: spawn EINVAL

**URL:** <https://discourse.nodered.org/t/node-red-error-spawn-einval/94997>\
**Category:** General\
**Created:** [30 January 2025 05:08 UTC](https://discourse.nodered.org/t/node-red-error-spawn-einval/94997 "2025-01-30T05:08:03Z")\
**Posts on this page:** 1\
**Showing post:** 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:** [30 January 2025 06:26 UTC](https://discourse.nodered.org/t/node-red-error-spawn-einval/94997/2 "2025-01-30T06:26:58Z")

</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 v3.\* or better still, v4.0.8 and it will be resolved.

---

_[View the full topic](https://discourse.nodered.org/t/node-red-error-spawn-einval/94997)._
