Error Code Portal
Node.jsNode.jsError code

ERR_WORKER_HANDLE_NOT_TRANSFERABLE

worker handle not transferable

Code ERR_WORKER_HANDLE_NOT_TRANSFERABLE · An issue reported by Node.js.

An attempt was made to transfer a net.Socket, net.Server or net.BoundSocket to another thread via a worker_threads postMessage() call while it was not in a transferable state, for example because it had already started reading, had buffered data, or had already been adopted.

Troubleshooting and diagnostic links

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