# Have issue running node-red

**URL:** <https://discourse.nodered.org/t/have-issue-running-node-red/88247>\
**Category:** General\
**Created:** [24 May 2024 19:14 UTC](https://discourse.nodered.org/t/have-issue-running-node-red/88247 "2024-05-24T19:14:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudhand](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@sudhand](https://discourse.nodered.org/u/sudhand)\
**Post date:** [24 May 2024 19:14 UTC](https://discourse.nodered.org/t/have-issue-running-node-red/88247/1 "2024-05-24T19:14:06Z")

</div>

24 May 14:06:46 - [info] Node-RED version: v0.20.3  
24 May 14:06:46 - [info] Node.js version: v22.0.0  
24 May 14:06:46 - [info] Windows\_NT 10.0.17763 x64 LE  
(node:4892) [DEP0059] DeprecationWarning: The `util.log API is deprecated. Please use console.log() with a custom formatter or a third-party logger instead.  
24 May 14:06:46 - [error] Failed to start server:  
24 May 14:06:46 - [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)  
at C:\Users\sdhanasekaran\AppData\Roaming\npm\node\_modules\node-red\node\_modules@node-red\registry\lib\installer.js:238:27  
at new Promise ()  
at Object.checkPrereq (C:\Users\sdhanasekaran\AppData\Roaming\npm\node\_modules\node-red\node\_modules@node-red\registry\lib\installer.js:237:16)  
at Object.load (C:\Users\sdhanasekaran\AppData\Roaming\npm\node\_modules\node-red\node\_modules@node-red\registry\lib\index.js:44:22)  
at C:\Users\sdhanasekaran\AppData\Roaming\npm\node\_modules\node-red\node\_modules@node-red\runtime\lib\index.js:137:29  
at tryCatchReject (C:\Users\sdhanasekaran\AppData\Roaming\npm\node\_modules\node-red\node\_modules\when\lib\makePromise.js:845:30)  
at runContinuation1 (C:\Users\sdhanasekaran\AppData\Roaming\npm\node\_modules\node-red\node\_modules\when\lib\makePromise.js:804:4)

C:\Users\sdhanasekaran\AppData\Roaming\npm\>

---

<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:** [24 May 2024 19:43 UTC](https://discourse.nodered.org/t/have-issue-running-node-red/88247/2 "2024-05-24T19:43:40Z")

</div>

> [@sudhand](#):
>
> Node-RED version: v0.20.3

> [@sudhand](#):
>
> Node.js version: v22.0.0

Yeah, that's never gonna work. Your Node-RED version is VERY old. Latest version is 3.1.9

Upgrade node-red to get up and running.

---

<div class="post-metadata">

**Author:** ![sudhand](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@sudhand](https://discourse.nodered.org/u/sudhand)\
**Post date:** [24 May 2024 20:13 UTC](https://discourse.nodered.org/t/have-issue-running-node-red/88247/3 "2024-05-24T20:13:47Z")

</div>

_Thanks, it worked after upgrade._

![~WRD000.jpg](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/5/52d5f1c08649212fe6768d2cacdcf8df711810d9.jpeg)

---

<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:** [7 June 2024 20:14 UTC](https://discourse.nodered.org/t/have-issue-running-node-red/88247/4 "2024-06-07T20:14:16Z")

</div>

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