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
Uncaught TypeError when tab-completing constructor in REPL #6181
The repl throws an uncaught error when trying to tab-complete the constructor keyword:
> class Foo {
... construcrepl.js:292
top.outputStream.write((e.stack || e) + '\n');
^
TypeError: Cannot read property 'outputStream' of undefined
at Domain.<anonymous> (repl.js:292:8)
at emitOne (events.js:90:13)
at Domain.emit (events.js:182:7)
at emitError (domain.js:66:24)
at Domain.errorHandler [as _errorHandler] (domain.js:110:18)
at process._fatalException (node.js:255:33)
Activity
bnoordhuis commentedon Apr 13, 2016
Does it still happen with the latest v5? It works for me with master, FWIW
benkogan commentedon Apr 13, 2016
Sorry, didn't realize my node version was out of date. Tried with v5.10.1 and still getting the same issue:
cjihrig commentedon Apr 13, 2016
Seems to be working for me with the master branch:
The fix likely happened in a semver major change that hasn't been released yet.
benkogan commentedon Apr 13, 2016
Got it. I'll go ahead and close this, thanks!