# Not starting on window 11 "Error: spawn EINVAL"

**URL:** <https://discourse.nodered.org/t/not-starting-on-window-11-error-spawn-einval/87153>\
**Category:** General\
**Tags:** windows\
**Created:** [11 April 2024 09:33 UTC](https://discourse.nodered.org/t/not-starting-on-window-11-error-spawn-einval/87153 "2024-04-11T09:33:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![biohazardxxx](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/biohazardxxx/32/90100_2.png) [@biohazardxxx](https://discourse.nodered.org/u/biohazardxxx)\
**Post date:** [11 April 2024 09:33 UTC](https://discourse.nodered.org/t/not-starting-on-window-11-error-spawn-einval/87153/1 "2024-04-11T09:33:40Z")

</div>

Fresh Node and node-red installation on win 11 gives this error:  
Node.js v20.12.2

```auto
C:\Users\abc>node-red
11 Apr 11:27:42 - [info]

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

11 Apr 11:27:42 - [info] Node-RED version: v3.1.8
11 Apr 11:27:42 - [info] Node.js version: v20.12.2
11 Apr 11:27:42 - [info] Windows_NT 10.0.22631 x64 LE
11 Apr 11:27:42 - [error] Failed to start server:
11 Apr 11:27:42 - [error] Error: spawn EINVAL
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at spawn (node:child_process:761:9)
    at Object.execFile (node:child_process:351:17)
...

```

Any hints what's wrong?

---

<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:34 UTC](https://discourse.nodered.org/t/not-starting-on-window-11-error-spawn-einval/87153/2 "2024-04-11T09:34:22Z")

</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:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 April 2024 09:34 UTC](https://discourse.nodered.org/t/not-starting-on-window-11-error-spawn-einval/87153/3 "2024-04-25T09:34:40Z")

</div>

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