Error Code Portal
Node.jsNode.jsError code

ERR_INSPECTOR_NOT_WORKER

inspector not worker

Code ERR_INSPECTOR_NOT_WORKER · An issue reported by Node.js.

An API was called on the main thread that can only be used from the worker thread.

Troubleshooting and diagnostic links

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