Node-RED Modbus error


I'm having issues deploying Node-RED after installing the latest Modbus package.
I get up the error message: [modbus-write:e5900382.831fd] TypeError: Cannot read property 'registerForModbus' of null

Command prompt shows:

Does anyone know how to fix this?

Thank you in advance for any help.


Figured it out.

Had an invalid Modbus Read node active. Deleted the node, deployed the nodes, reset cmd and then it worked again properly.