rndAdn / REPL-Nodejs

REPL package for Atom
MIT License
16 stars 10 forks source link

Uncaught Error: Cannot call write after a stream was destroyed #25

Open rihabsaal opened 3 years ago

rihabsaal commented 3 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.55.0 x64 Electron: 6.1.12 OS: Unknown Windows version Thrown From: Repl package 0.5.0

Stack Trace

Uncaught Error: Cannot call write after a stream was destroyed

At events.js:177

Error [ERR_STREAM_DESTROYED] [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
    at doWrite (_stream_writable.js:413:19)
    at writeOrBuffer (_stream_writable.js:401:5)
    at Socket.Writable.write (_stream_writable.js:301:11)
    at Repl.module.exports.Repl.processCmd (/packages/Repl/lib/Repl/ReplClass.coffee:20:28)
    at Repl.module.exports.Repl.writeInRepl (/packages/Repl/lib/Repl/ReplClass.coffee:81:10)
    at REPLView.module.exports.REPLView.interprete (/packages/Repl/lib/Repl-View/ReplView.coffee:18:11)
    at REPLView.interprete (/packages/Repl/lib/Repl-View/ReplView.coffee:1:1)
    at ReplManager.module.exports.ReplManager.interprete (/packages/Repl/lib/ReplManager.coffee:16:16)
    at Object.interpreteSelect (/packages/Repl/lib/Repl.coffee:104:20)
    at /packages/Repl/lib/Repl.coffee:75:89)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.55.0/resources/app/static/<embedded>:11:350382)
    at KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.55.0/resources/app/static/<embedded>:11:1230982)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.55.0/resources/app/static/<embedded>:11:1227116)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.55.0/resources/app/static/<embedded>:11:284879)

Commands

     -8:44.2.0 application:open-file (div.welcome.is-guide)
     -8:14 Repl:Repl Ocaml (input.hidden-input)
  2x -0:44.6.0 Repl:interpreteSelect (input.hidden-input)
  7x -0:40.9.0 core:save (input.hidden-input)
     -0:37.8.0 core:redo (input.hidden-input)
     -0:37.7.0 Repl:interpreteSelect (input.hidden-input)
  2x -0:37.2.0 core:save (input.hidden-input)
     -0:36 core:redo (input.hidden-input)
  2x -0:36 Repl:interpreteSelect (input.hidden-input)
     -0:35.4.0 core:save (input.hidden-input)
     -0:35.2.0 Repl:interpreteSelect (input.hidden-input)
     -0:34 core:redo (input.hidden-input)
  2x -0:29.1.0 Repl:interpreteSelect (input.hidden-input)

Non-Core Packages

language-ocaml 1.9.5 
ocaml-merlin 0.14.7 
Repl 0.5.0