hyper: WinPTY agent fails to launch on Windows 7
- I am on the latest Hyper.app version
- I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: Windows 7 SP1 64bit
- Hyper.app version: 2.0.0
- Link of a Gist with the contents of your .hyper.js: https://gist.github.com/codehearts/401f8857f1f817052b187cb119875e32
- Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A
- The issue is reproducible in vanilla Hyper.app: Yes
Issue
Since updating to 2.0.0 Hyper throws an error at startup. When I hit OK on the popup, the window appears but there’s no text entry since there’s no terminal. I’ve done this using cygwin bash and powershell as my shell, neither works.
Uncaught exception:
Error: Error launching WinPTY agent: ConnectNamedPipe failed: Windows error 232
at new WindowsPtyAgent
...
The call stack seems to be WindowsPtyAgent<-WindowsTerminal<-spawn<-Session<-initSession<-Server.Window.rpc.on.options<-emitOne<-Server.emit<-Server.ipcListener<-emitTwo. This was working on earlier canaries, I see something changed with winpty so I suspect that’s what did it.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 2
- Comments: 27 (1 by maintainers)
For McAfee issue, I got it working by excluding
C:\Users\<User>\AppData\Local\hyper\app-2.1.0\resources\app.asar.unpacked\node_modules\node-pty\build\Release\winpty-agent.exefrom real-time scanning on McAfeeWindows 10 version 1709
The culprit is in McAfee Real-Time Scanning, I tried turning it off and this error never happens, but when turning back on again the error happens again.
Experiencing the exact same behavior as @boydjeff. Anything we can do? I have tried running as admin with no luck.
System info: Windows 10.0.15063 Build 15063 McAfee Endpoint Security 10.5.4.4270