node-red-contrib-onvif-nodes icon indicating copy to clipboard operation
node-red-contrib-onvif-nodes copied to clipboard

TypeError: Cannot read property 'device' of undefined

Open sanyafifa opened this issue 3 years ago • 1 comments

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 [email protected] 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

sanyafifa avatar Nov 21 '21 17:11 sanyafifa

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

bartbutenaers avatar Nov 22 '21 06:11 bartbutenaers