hypercwd icon indicating copy to clipboard operation
hypercwd copied to clipboard

Opening a new tab throws an uncaught exception

Open Mohamed3on opened this issue 7 years ago • 5 comments

This issue seems to happen only with hypercwd installed, the original issue is here: https://github.com/zeit/hyper/issues/2175

Mohamed3on avatar Oct 17 '17 11:10 Mohamed3on

That is happening to me too.

Apparently, it happens when something is running on that tab, for example, when you leave webpack-dev-server running and try to open a new tab, or when you have your tests running (in watch mode) and try to open a new tab, etc.

GabeDuarteM avatar Jan 17 '18 13:01 GabeDuarteM

Is this still happening with Hyper 2.X and hypercwd 1.2.3?

This might be fixed now since hypercwd has been removed from stdout stdin path

hharnisc avatar May 03 '18 15:05 hharnisc

@hharnisc this error does not appear to occur for me in [email protected].

dcalhoun avatar May 03 '18 15:05 dcalhoun

@hharnisc its still appear on Hyper 2.1.0-c1 and hypercwd 1.2.3 when I use shell: 'C:\\Windows\\System32\\bash.exe'

Uncaught Exception:
Error: Unable to start terminal process: CreateProcess failed
    at new WindowsPtyAgent (C:\Users\n0xff\AppData\Local\hyper\app-2.1.0-canary1\resources\app.asar\node_modules\node-pty\lib\windowsPtyAgent.js:25:24)
    at new WindowsTerminal (C:\Users\n0xff\AppData\Local\hyper\app-2.1.0-canary1\resources\app.asar\node_modules\node-pty\lib\windowsTerminal.js:45:24)
    at spawn (C:\Users\n0xff\AppData\Local\hyper\app-2.1.0-canary1\resources\app.asar\node_modules\node-pty\lib\index.js:27:12)
    at Session (C:\Users\n0xff\AppData\Local\hyper\app-2.1.0-canary1\resources\app.asar\session.js:53:18)
    at initSession (C:\Users\n0xff\AppData\Local\hyper\app-2.1.0-canary1\resources\app.asar\ui\window.js:102:24)
    at Server.Window.rpc.on.options (C:\Users\n0xff\AppData\Local\hyper\app-2.1.0-canary1\resources\app.asar\ui\window.js:105:7)
    at emitOne (events.js:115:13)
    at Server.emit (events.js:210:7)
    at Server.ipcListener (C:\Users\n0xff\AppData\Local\hyper\app-2.1.0-canary1\resources\app.asar\rpc.js:33:11)
    at emitTwo (events.js:125:13)

N0xFF avatar May 06 '18 06:05 N0xFF

Still an issue in Hyper 3.0.2... at least when using WSL.

MikeRatcliffe avatar Jul 30 '20 15:07 MikeRatcliffe