-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Erorr : read ECONNRESET
(MacOS NodeJS v16 and v14)
#40468
Comments
This might be caused by the libuv 1.42.0 update. Are you able to write a test case that only uses Node.js core modules? |
I've not written such tests. Do you have any instructions/tutorials for writing tests with Node.js core modules? |
@dmvict a simple Node.js script that only uses core modules and reproduces the issue would be ok. |
@lpinca Maybe, I've has a mistake. This simple script works fine (workflow run). I do not know what conditions are needed to reproduce the error. |
@dmvict you need at least to use the
|
The new scrip also works fine (workflow run). Maybe, the problem is in dependency. Thank you for help. |
I made many experiments. In the last I replaced external library on internal module and took same error ( workflow ). It seems that routine throw error if it is exported from module. I will made this experiment later. |
Hello, I am getting this error every single time I run node (
I literally cannot run anything. EDIT: Downgrading node to |
I ran into this issue using craco on MacOS Big Sur 11.16. The issue was intermittent on smaller projects and permanently present on larger ones. Thanks for mentioning the workaround to downgrade node to 16.6.2 @Tenpi it works for me as well. The next release up, 16.7.0 which also introduces the dependency upgrade by @lpinca for libuv 1.42.0 [cf5e5b5] #39525 reproduces the issue. |
Same error for node v16.13.1:
And I also tried node v17.3.0, but still have same error. I cannot downgrade node to v16.6.2, since my project dependencies require node >=16.10.0. Is there any solution to fix this error right now, thanks ? |
We experience the same issue with Nodejs v16.13.0 and Mac Intel 12.0.1. I can confirm that downgrading to Nodejs v16.6.2 fixes the problem. It also works in Node 12 and 14. Unfortunately I can't say if it's reproduced on any other OS or not. |
v16.x went out of support earlier this month and newer versions aren't affected, as far as I'm aware, so I'll go ahead and close this. |
Version
v16.11.1
Platform
Mac OS X
Subsystem
No response
What steps will reproduce the bug?
I have only github workflow MacOS machines.
How often does it reproduce? Is there a required condition?
In new minor version of Node.js v16.x and v14.x - every run.
Experimental branch, run on Node.js v16.11.1
In older verseion - v16.11.1 and v14.17.4 - no errors
Experimental branch, run on Node.js v16.6.2
What is the expected behavior?
Expected no errors. Same workflows on Ubuntu and Windows have no errors.
https://github.com/Wandalen/wHttp/runs/3892798684?check_suite_focus=true
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: