I have a strange situation I hope someone can help with. I am developing a node using Packaging a Subflow as a module. When I place the node on the flow and deploy then in the developer console I see
VM408:341
Uncaught TypeError: Cannot read properties of undefined (reading 'name')
at <anonymous>:341:118
at Array.map (<anonymous>)
at Array.handleDebugMessage (<anonymous>:333:47)
at i.onmessage (red.min.js?v=5a8f4f4e892d:16:35606)
and the buttons on all inject nodes become greyed out. If I move a node and re-deploy then there is no error and the buttons are back to normal.
If I open the node and edit any property apart from Name and deploy then I see the same situation.
If I give it a name then the issue goes away, unless I blank the name again, in which case the problem returns.
I am seeing this in 3.1.6 and 4.0.0 beta 1. Is there something I can do to prevent it or is this a bug?
To see the problem the node can be installed using
npm install colinl/node-red-guaranteed-delivery
It is called Guaranteed Delivery and appears in the Functions category.