Open JonMurphy opened 8 years ago
Found something that may help. In the Deploy dropdown - if I do a Modified Flows Deploy or a Modified Nodes Deploy I will sometimes get the error above.
If I do a Full Deploy then there is no error.
Are you sure the source of this error is the smart plug node? This "popup" errors are coming from the UI by using RED.notify. I use this function, but I am only using predefined text, no generic error messages. Also i am not using Object.keys on the smart plug node.
Hi Jochen - Honestly no, I am not sure. But the message only pops up when I make changes to this flow. I'll post this on the nodered google group and see what comes back. Thanks! Jon
@JonMurphy any feedback from the group?
I'm not measuring anything at the moment but I will plug in my Edimax Smartplug and give it a test. I've got two Smartplugs so I'll look for issue #16 also.
Jochen - When I was testing the fix for Issue #8 and Issue #4 I kept seeing this error: Error: {"error":"unexpected_error","message":"TypeError: Object.keys called on non-object"}
This error does not happen during every deploy. The error during deploy happens about 20% to 40% (guess) of the time. When this error does happen then the flow will not deploy. I will wait 5-10 seconds and try Deploy again. After doing this 4-6 times, then the flow will finally deploy.