Quote:
internal/buffer.js:35
throw new ERR_OUT_OF_RANGE('value', `>= ${min} and <= ${max}`, value);
^
RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= 0 and <= 4294967295. Received -591282228
at checkInt (internal/buffer.js:35:11)
at writeU_Int32BE (internal/buffer.js:625:3)
at Buffer.writeUInt32BE (internal/buffer.js:638:10)
at WebSocketFrame.toBuffer (/Volumes/Maxtor/Scripts/horacio/mfc-node-master2/node_modules/websocket/lib/WebSocketFrame.js:257:24)
at WebSocketConnection.sendFrame (/Volumes/Maxtor/Scripts/horacio/mfc-node-master2/node_modules/websocket/lib/WebSocketConnection.js:857:43)
at WebSocketConnection.fragmentAndSend (/Volumes/Maxtor/Scripts/horacio/mfc-node-master2/node_modules/websocket/lib/WebSocketConnection.js:793:14)
at WebSocketConnection.sendUTF (/Volumes/Maxtor/Scripts/horacio/mfc-node-master2/node_modules/websocket/lib/WebSocketConnection.js:733:10)
at WebSocketClient.<anonymous> (/Volumes/Maxtor/Scripts/horacio/mfc-node-master2/main.js:69:12)
at WebSocketClient.emit (events.js:182:13)
at WebSocketClient.succeedHandshake (/Volumes/Maxtor/Scripts/horacio/mfc-node-master2/node_modules/websocket/lib/WebSocketClient.js:335:10)
at WebSocketClient.validateHandshake (/Volumes/Maxtor/Scripts/horacio/mfc-node-master2/node_modules/websocket/lib/WebSocketClient.js:319:10)
at ClientRequest.handleRequestUpgrade (/Volumes/Maxtor/Scripts/horacio/mfc-node-master2/node_modules/websocket/lib/WebSocketClient.js:248:14)
at ClientRequest.emit (events.js:182:13)
at Socket.socketOnData (_http_client.js:453:11)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:280:12)
at readableAddChunk (_stream_readable.js:265:11)
at Socket.Readable.push (_stream_readable.js:220:10)
at TCP.onread (net.js:638:20)
^C
|
I get this error when running mfc-node when using node version 10