-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Error: premature close #30
Comments
Try upgrading to the latest version of through2. (Thanks your message helped me diagnose similar issue) |
Nevermind. Still seeing the same errors. |
In my case another error was occurring, but it got swallowed up and manifested as the "premature close". |
Facing the same issue (i think, or somewhat) As per version 1.4.4: Line 53 in e104395
The issue goes away for me by removing |
I have some code that worked before, but throws an error now after release of
end-of-stream@1.4.2
:Outputs:
I've narrowed it down to 25b2425. I'm not sure what that code does, maybe it just exposes a bug that was there before.
I use
pump
, which usesend-of-stream
as a dependency, that silently upgrades to the last patch version triggering this.Using node@12.6.0, dependencies are as follows (note that this example is also affected by feross/multistream#51, which is not yet published to npm, so using git version):
Need some help figuring out why it happens, as I'm not very familiar with streams, and don't know what's their correct behavior is.
The text was updated successfully, but these errors were encountered: