I am using node-red with home assistant and during a recent upgrades it caused node-red to start crashing. looking at the logs I found this error I couldn't get rid of. Not sure where to look the stack trace points to Subflow a not being able to start, but what should I look for in there? functionally everything seems to be working.
TypeError: Cannot read properties of undefined (reading 'id')
at /opt/node_modules/@node-red/runtime/lib/flows/Subflow.js:209:140
at Array.map (<anonymous>)
at /opt/node_modules/@node-red/runtime/lib/flows/Subflow.js:209:95
at Array.map (<anonymous>)
at Subflow.start (/opt/node_modules/@node-red/runtime/lib/flows/Subflow.js:209:62)
at Flow.start (/opt/node_modules/@node-red/runtime/lib/flows/Flow.js:224:41)
at start (/opt/node_modules/@node-red/runtime/lib/flows/index.js:394:33)
Exactly what version of Node-RED have you got? Check the bottom of the main menu in the Node-RED editor - the home assistant packaging uses different version numbers to those we use.