Open Wombosvideo opened 2 years ago
Hi @Wombosvideo, you can try a downgrade to node v16.x
Issue also confirmed on Node.js v16.14.2
So far my provided quick fix seems to be doing to job just fine as the problems probably occur due to requests made before the data is available (i.e. before Hue Magic connects to the bridge)
Describe the bug When Hue Magic is installed Node-RED just boot-loops. This means it boots up to a certain point where it hits the given
TypeError
and then restarts until it crashes again at the same point. This continues forever. It makes using Node-RED unusable.Expected behavior Node-RED and Hue Magic load normally and boot succeeds without any issues.
Error message
Quick fix Add the following line to
~/.node-red/node_modules/node-red-contrib-huemagic/huemagic/hue-bridge.js
:This will return both Node-RED and Hue Magic to their desired functionality, without any drawbacks for me so far.
Please complete the following information:
Additional context The problem only occured after an update of the module. Before, I hit the issue #350 which is why I decided to restart Node-RED. Now I can't use Node-RED at all.