Hi
i got an issue with Starting up node red.
Error: Failed to start server
Versions: Node red 3.1.8, nodejs 20.16.0
Error is with running npm in line
[project dir]\node_modules@node-red\registry\lib\installer.js:584:27
Workaround:
change
const npmCommand = process.platform === 'win32' ? 'npm.cmd' : 'npm';
to
const npmCommand = 'npm';
The better "workaround" is to update to latest Node-RED where this issue is already fixed 
The issue was NodeJS changed something for security reasons that place restrictions on spawning .bat and .cmd.
Seems to be more easy...
Thanks.. just have seen that this error was discussed allot.
system
Closed
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.