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

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)

Most upvoted comments

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.exe from real-time scanning on McAfee

javascripterror_hyper

Windows 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

image