Error Code Portal
Node.jsNode.jsError code

ERR_WORKER_MESSAGING_SAME_THREAD

worker messaging same thread

Code ERR_WORKER_MESSAGING_SAME_THREAD · An issue reported by Node.js.

The thread id requested in postMessageToThread() is the current thread id.

Troubleshooting and diagnostic links

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