Error start node-red

Good morning,
can anyone help me on the following error?
I have tried to uninstall everything and reinstall by following various guides but the problem persists.
Thanks so much

PS C:\Users\User> node --version; npm --version
v14.16.0
6.14.11
PS C:\Users\User> node-red start
18 Mar 14:44:40 - [info]

Welcome to Node-RED

18 Mar 14:44:40 - [info] Node-RED version: v1.2.9
18 Mar 14:44:40 - [info] Node.js version: v14.16.0
18 Mar 14:44:40 - [info] Windows_NT 10.0.19042 x64 LE
18 Mar 14:44:40 - [info] Loading palette nodes
18 Mar 14:44:41 - [error] Failed to start server:
18 Mar 14:44:41 - [error] TypeError: Cannot read property 'forEach' of undefined
at Object.addModule (C:\Users\User\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\registry\lib\registry.js:186:27)
at C:\Users\User\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\registry\lib\loader.js:108:30
at tryCatchReject (C:\Users\User\AppData\Roaming\npm\node_modules\node-red\node_modules\when\lib\makePromise.js:845:30)
at runContinuation1 (C:\Users\User\AppData\Roaming\npm\node_modules\node-red\node_modules\when\lib\makePromise.js:804:4)
at Fulfilled.when (C:\Users\User\AppData\Roaming\npm\node_modules\node-red\node_modules\when\lib\makePromise.js:592:4)
at Pending.run (C:\Users\User\AppData\Roaming\npm\node_modules\node-red\node_modules\when\lib\makePromise.js:483:13)
at Scheduler._drain (C:\Users\User\AppData\Roaming\npm\node_modules\node-red\node_modules\when\lib\Scheduler.js:62:19)
at Scheduler.drain (C:\Users\User\AppData\Roaming\npm\node_modules\node-red\node_modules\when\lib\Scheduler.js:27:9)
at processTicksAndRejections (internal/process/task_queues.js:75:11)
PS C:\Users\User>

Denis DS

Hi @TE_developer

have you installed any extra nodes, or perhaps been developing your own?

This error can happen when Node-RED loads a Node module that is missing its html file.

Hi @knolleary,
previously I had installed node red but it gave an error in installing the modules.
So I deleted, in theory, and reinstalled everything.
Is there any specific command to redo a clean install?

Also (but probably not the cause of the error) that command attempts to start node-red using a flows file called start. You mean either node-red or node-red-start (I don't know if that is valid for windows).

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