-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENOTCONN error on Windows runs #5241
Comments
Started getting this today too, and I have no knowledge of any
|
As I wrote, I don't know anything about |
Super strange. Can you provide
Also, did this only start happening in 3.4.1, or has 3.4.1 been working fine and then this started to happen? |
As another data point, I am only seeing this on windows with npm and node 12. I don't think I was testing this combination prior to |
I also got this error when I updated from node-v12.9.1-x64 to node-v12.11.1-x64. To solve this issue for now, go back to 12.9.1 |
To be a little more precise: node-v12.10 is also working, but version node-v12.11.0 not. |
Here's the 12.11.0 changelog. I was unable to find any change that clearly causes this. I'll open a PR with @bkirova's patch so this can be fixed in the next release. |
Haven't been at the office today, so haven't been able to confirm, but I did upgrade Node to latest version recently too, so sounds like that could maybe be the issue then. 🤔 |
The code for this is done in cypress-io/cypress#5293, but has yet to be released. |
Finally back at work (that was one resilient cold virus... 👀), and can confirm that if I downgrade node to I see the fix in #5293 simply ignores the error code, but is that an actual fix? Maybe would be good to also figure out why this error suddenly is happening now, rather than just ignoring it? Maybe there's a bigger issue in Cypress that should actually be fixed? Some pipes that aren't closed properly? Data that's not sent/received properly? Something? |
Here's my understanding:
There's very little documentation about the meaning of these error codes in Node.js, but I found some info on the generic POSIX meaning here: https://stackoverflow.com/a/902964/3474615
...so I think it is unlikely that adding |
Any updates on this? Just updated to Node's new LTS version 12.13 and I started getting this error now. |
@dugajean The issue has been fixed in the |
Thanks a lot for the prompt answer @flotwig |
Released in |
Current behavior:
cypress throws error on Windows when launching more than one run as a separate process with execSync
Steps to reproduce:
Launch more than one time cypress run command with execSync
Versions
Cypress v3.4.1
Windows Version 10.0.18362
Node 12.11.0
npm 6.11.3
This issue is related to #1841
and is fixable by adding the erro code into already existing condition (line 169)
The text was updated successfully, but these errors were encountered: