-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
Node v20: TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('128SIGINT') #1535
Comments
Any updates on this? Is this accepted as a pretty severe bug now that Node.js 20 is the current active release? |
maybe the main solution will be to bump from foreground-child 2.0.0 to latest version. issue is duplicated here sometimes dead loop · Issue #54 · tapjs/foreground-child · GitHub |
I also witnessed this on Node 20, indeed it seems to be an issue with |
Turns out this is already fixed in the latest version of |
Another reproduction:
|
When I tried to the nyc process with TERM signal, I got the following error:
|
Link to bug demonstration repository
https://github.com/anishkny/nyc-bug-demo
Expected Behavior
Upon pressing Ctrl-C program should exit and coverage information should be generated.
Observed Behavior
Troubleshooting steps
node index.js
withoutnyc
Environment Information
The text was updated successfully, but these errors were encountered: