Error Code Portal
Node.jsNode.jsError code

ERR_STREAM_PREMATURE_CLOSE

stream premature close

Code ERR_STREAM_PREMATURE_CLOSE · An issue reported by Node.js.

An error returned by stream.finished() and stream.pipeline(), when a stream or a pipeline ends non gracefully with no explicit error.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.