question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WinPTY agent fails to launch on Windows 7

See original GitHub issue
  • 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.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:27 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
rnagatamacommented, Dec 25, 2018

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

4reactions
idikecommented, Jul 6, 2018

javascripterror_hyper

Windows 10 version 1709

Read more comments on GitHub >

github_iconTop Results From Across the Web

WinPTY agent fails to launch on Windows 7 #2832 - GitHub
I've done this using cygwin bash and powershell as my shell, neither works. Uncaught exception: Error: Error launching WinPTY agent: ...
Read more >
What Is Winpty-agent.exe? How Do I Fix These Errors?
File corruption, missing, or deleted winpty-agent.exe files can result in EXE executable errors, most commonly seen during the startup phase of Virtual ...
Read more >
The terminal process failed to launch: A native exception ...
The terminal process failed to launch: A native exception occurred during launch (Error launching WinPTY agent: agent executable does not ...
Read more >
"Error starting winpty: agent died" : IDEA-278410 - YouTrack
Unable to launch terminal in Intellij. Getting message- "Error starting winpty: agent died". Relates to 2. Relates to 2 issues (0 unresolved).
Read more >
winpty-agent.exe Windows process - What is it? - File.net
winpty-agent.exe is not essential for Windows 10/11/7 and will often cause problems. Click here to see what winpty-agent is doing, and how to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found