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.

EPIPE error on Windows runs

See original GitHub issue

Bug

  • Cypress v3.0.1
  • Windows
  • Node 10.1.0
  • npm 6.1.0

Saw this error on AppVeyor Windows CI https://ci.appveyor.com/project/cypress-io/cypress-example-todomvc/build/1.0.169

events.js:167
      throw er; // Unhandled 'error' event
      ^
Error: shutdown EPIPE
    at ReadStream.Socket._final (net.js:369:25)
    at callFinal (_stream_writable.js:615:10)
    at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
    at ReadStream.onerror (_stream_readable.js:693:12)
    at ReadStream.emit (events.js:182:13)
    at emitErrorNT (internal/streams/destroy.js:82:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ cypress:run: `cypress run`

Maybe

  1. a long request that’s still in flight and being proxied when the server shuts down (since the tests pass)
  2. shutting down the http-server when there are open connections
  3. killing the child processes (?)

Need to debug with DEBUG=cypress:* to isolate the problem

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:36 (14 by maintainers)

github_iconTop GitHub Comments

9reactions
uoziodcommented, Jun 18, 2018

Guys, any news on this one? It’s pretty ugly one 😦

7reactions
brian-manncommented, Jun 21, 2018

Good news - was able to reproduce this, but only in some specific versions of node.

Read more comments on GitHub >

github_iconTop Results From Across the Web

nodejs why EPIPE thrown when running `process.stdin.write ...
how to write some data to current process's own stdin on windows. i tried it but got an EPIPE error on windows (but...
Read more >
EPIPE error - Google Groups
The EPIPE error does NOT show-up on a 32bit system running Windows 7, 8.1 or 10. The EPIPE error does NOT show-up on...
Read more >
Cyton Simulate EPIPE Error — OpenBCI Forum
Funny thought that the exact same software runs on my friends Windows 10. On my MacBookAir (mid 2012) macOS 10.12.6 with node 9.10.1...
Read more >
Errors | Node.js v19.3.0 Documentation
Applications running in Node.js will generally experience four categories of ... On Windows the error number provided by the system will be normalized...
Read more >
Broken Pipe Error in Python - GeeksforGeeks
The same error that occurred in the Linux system is EPIPE, but every library function which returns its error code also generates a...
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