Skip to content
JS
Node.js error

ERR_CLOSED_MESSAGE_PORT

There was an attempt to use a MessagePort instance in a closed state, usually after .close() has been called.

Reference entryNode.jsFetched

Node.js documentation lists the code ERR_CLOSED_MESSAGE_PORT without the printed message text.

Category
Node.js error codes
Severity
error
Versions
Added in v10.5.0
Runtime
node
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: Node.js documentation. Data fetched 2026-09-25T01:43:12.378Z.