Error Code Portal
Node.jsNode.jsError code

ERR_USE_AFTER_CLOSE

use after close

Code ERR_USE_AFTER_CLOSE · An issue reported by Node.js.

An attempt was made to use something that was already closed.

Troubleshooting and diagnostic links

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