Not starting on window 11 "Error: spawn EINVAL"

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

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?

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.

1 Like

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