Closed andrasg closed 5 years ago
Can confirm... node-red-contrib-loxone will thus not run with node 10.x
RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= 0 and <= 4294967295. Received -298553816
at checkInt (internal/buffer.js:35:11)
nodejs v10.13.0
node-lox-ws-api 0.4.3
It's caused by old version of websocket package - fixed
Commit that fixes the issue for reference:
https://github.com/alladdin/node-lox-ws-api/commit/5a2b8f52e7ef24dfee7fc9f70e286da4bc31fcfd
Opening a connection on node v10 results in a
RangeError
:Works perfectly on node v8.