Error Code Portal
Node.jsNode.jsError code

ERR_CONSTRUCT_CALL_INVALID

construct call invalid

Code ERR_CONSTRUCT_CALL_INVALID · An issue reported by Node.js.

A class constructor was called that is not callable.

Troubleshooting and diagnostic links

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