bartbutenaers / node-red-contrib-onvif-nodes

Node Red nodes for communicating with OnVif compliant IP devices
Apache License 2.0
65 stars 25 forks source link

TypeError: Cannot read property 'device' of undefined #30

Open sanyafifa opened 2 years ago

sanyafifa commented 2 years ago

Hi! @bartbutenaers there was a NodeRed issue while updating to the latest version. When accessing a node, NR stops. image

I decided to go back to version npm install node-red-contrib-onvif-nodes@0.0.1-beta.14 and I get this error: Nov 21 20:47:01 raspberrypi Node-RED[20589]: 21 Nov 20:47:01 - [error] [onvif-config:f5cd5e9691ea4dc1] TypeError: Cannot read property 'device' of undefined

Version NR - 2.0.5 Help me get back to work of the node

bartbutenaers commented 2 years ago

Hi @sanyafifa,

That error is what you get in beta14? Unfortunately I don't have enough free time to start supporting older versions of my nodes... So I would need to know which version you get in beta15 (via node-red-log I assume), and (in detail) which step you have done. And if you have a call stack (with code files and line numbers) in your log, that would help a lot.

Because the "Cannot read property" can be anywhere in the code...

Bart