vrnmthr / online-contact

Web implementation of the popular 'contact' game
0 stars 0 forks source link

recursive callstack bug #12

Open vrnmthr opened 4 years ago

vrnmthr commented 4 years ago

sometimes, this error randomly happens. I would guess that it's because we're trying to send a socket over a socket?? or something silly like that. look it up.

internal/bootstrap/pre_execution.js:304
    get() {
       ^

RangeError: Maximum call stack size exceeded
    at get (internal/bootstrap/pre_execution.js:304:8)
    at hasBinary (/Users/vrnmthr/Source/online-contact/server/node_modules/has-binary2/index.js:44:3)
    at hasBinary (/Users/vrnmthr/Source/online-contact/server/node_modules/has-binary2/index.js:58:59)
    at hasBinary (/Users/vrnmthr/Source/online-contact/server/node_modules/has-binary2/index.js:58:59)
    at hasBinary (/Users/vrnmthr/Source/online-contact/server/node_modules/has-binary2/index.js:58:59)
    at hasBinary (/Users/vrnmthr/Source/online-contact/server/node_modules/has-binary2/index.js:58:59)
    at hasBinary (/Users/vrnmthr/Source/online-contact/server/node_modules/has-binary2/index.js:58:59)
    at hasBinary (/Users/vrnmthr/Source/online-contact/server/node_modules/has-binary2/index.js:58:59)
    at hasBinary (/Users/vrnmthr/Source/online-contact/server/node_modules/has-binary2/index.js:58:59)
    at hasBinary (/Users/vrnmthr/Source/online-contact/server/node_modules/has-binary2/index.js:58:59)
El-Nazy commented 3 years ago

Just had the same problem today. I was trying to send io.sockets over a socket