After creating the custom and install it using npm install my node red is not running :
I follow the node red official page document for create custom node Creating your first node : Node-RED
below I have given the error details while running the node-red please help me out :
C:\Users\Soumen Nayak>node-red
19 Aug 19:06:58 - [info]
Welcome to Node-RED
19 Aug 19:06:58 - [info] Node-RED version: v3.0.2
19 Aug 19:06:58 - [info] Node.js version: v18.17.1
19 Aug 19:06:58 - [info] Windows_NT 10.0.18363 x64 LE
19 Aug 19:06:59 - [info] Loading palette nodes
19 Aug 19:07:00 - [error] Failed to start server:
19 Aug 19:07:00 - [error] TypeError: Cannot read properties of undefined (reading 'forEach')
at Object.addModule (C:\Users\Soumen Nayak\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\registry\lib\registry.js:195:27)
at C:\Users\Soumen Nayak\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\registry\lib\loader.js:153:34
Thanks