> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# stream-pipe-unhandled-error

> A stream is piped with .pipe() and no error handling, so a stream error can crash the process or leak the file.

## What it flags

`.pipe()` on a Node stream with no `error` listener and no `pipeline`/`finished` in the function, so a stream error can crash the process or leak resources. The rule skips RxJS pipes and files classified as test sources or fixtures. A stream known only by its name is contextual.

## How to review or fix

Fix (review): `await pipeline(...)` from `node:stream/promises`.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "stream-pipe-unhandled-error": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.