Have issue running node-red

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>

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.

Thanks, it worked after upgrade.

~WRD000.jpg

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