Node Red on fresh 3.50 & 3.62 gives TypeErrors for all Victron nodes on imported flow

I wanted to test a working flow with 20 or so nodes (mainly victron ones) for distribution to some other boaters. On V3.50 (after exporting the flow) I did a “Node-RED factory reset” and imported the flow. Once I deployed it I got the following error emitted from all the Victron nodes (but not the standard ones):

7/1/2025, 2:13:46 PMnode: Relay 2 (water heater)
msg : error. “TypeError: Cannot read properties of null (reading ‘client’)”

And in the browser console
[Error] TypeError: undefined is not an object (evaluating ‘o._source.path.length’)
(anonymous function) (debug-utils.js:418)
handle (vendor.js:2:46668)
dispatch (vendor.js:2:43096)

Although this may be related to “Node Red on 3.60 Fresh Install Invalid Property” post earlier, that workaround didn’t help so I have put this in a new post. In this case, the workaround I found was to first install one of the victron built-in demo flows (e.g. Custom control reboot), Deploy it then disable and delete it. After that I could re-import my flow and successfully deploy it.

Just did the same things with 3.62 with the same result

I experience the same issue now on 3.70~6 and 3.70~7 after an update to 3.70~7.

Is this different to the issue requiring a new victron node to be deployed, accepting the errors on deploy, after which the nodes all work again?

After removing the virtual device node, deploy and undoing the removal with crtl-z followed by a deploy it works again..

This has been mentioned a few times on this section in other topics.
You can just deploy a new node, click through the deploy errors and the rest should recover.