You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New Server.listen(options[, callback]) method is too picky about port being a js number #1111
Really like this new new listen function, but I've found it's pickier than the others about port being a js number vs a string number, and the error is unclear (uses poor stringification of the object):
Error: Invalid listen argument: [object Object]
at Server.listen (net.js:1278:15)
at repl:1:56
at REPLServer.defaultEval (repl.js:116:27)
at bound (domain.js:254:14)
at REPLServer.runBound [as eval] (domain.js:267:12)
at REPLServer.<anonymous> (repl.js:269:12)
at emitOne (events.js:77:13)
at REPLServer.emit (events.js:166:7)
at REPLServer.Interface._onLine (readline.js:195:10)
at REPLServer.Interface._line (readline.js:534:8)
Activity
bnoordhuis commentedon Mar 10, 2015
Fixed by 480b482.