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
A peculiar thing I noticed is that if you ^D after getting an exception with throw \foo, the uncaughtException handler triggers with
TypeError: Cannot read property 'setRawMode' of null
at ReadStream.setRawMode (tty.js:67:15)
at Interface._setRawMode (readline.js:177:23)
at Interface.close (readline.js:286:10)
at ReadStream.ontermend (readline.js:105:10)
at ReadStream.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickDomainCallback (node.js:381:11)
Why is it that throw \foo breaks the repl but this doesn't?
ls> test
[ReferenceError: repl:2
test is not defined]
Some errors break a REPL session in such way that it can't be used anymore, arrow keys for browsing history break etc.
This is on 1.4 from npm
The text was updated successfully, but these errors were encountered: