-
Notifications
You must be signed in to change notification settings - Fork 227
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
Is ERR_MULTIPLE_CALLBACK
missing a new
?
#532
Comments
Looks like a bug in Node.js: https:/nodejs/node/blob/10c6596f6d7abf7451112e767f8277fcd276d796/lib/internal/streams/writable.js#L879 |
@Jarred-Sumner would you like to send a PR? We can't do much about the Node.js source, and we should adapt the code in ours/errors.js to be spawned without new. A test to repro this would be nice. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ERR_MULTIPLE_CALLBACK
is anError
subclass (eventually) defined here:readable-stream/lib/ours/errors.js
Lines 70 to 97 in a2e9aed
In this line,
ERR_MULTIPLE_CALLBACK
is called instead of constructed:readable-stream/lib/internal/streams/writable.js
Line 594 in a2e9aed
I ran into this in a difficult to isolate scenario
The text was updated successfully, but these errors were encountered: