SPAHI42
SPAHI42

Reputation: 111

NodeJS RangeError: Maximum call stack size exceeded

I use socket.io

Error

RangeError: Maximum call stack size exceeded

when calling socket.disconnect();

Upvotes: 0

Views: 3093

Answers (1)

ralphinator80
ralphinator80

Reputation: 641

This may help. Basically says to disable logging.

io.set('log level', false)

Didn't help in my case. I'm seeing this while emitting data and it's related to the has-binary-data dependency socket.io/node_modules/has-binary-data/index.js:42.

Upvotes: 1

Related Questions