Error Code Portal
Node.jsNode.jsError code

ERR_CONSTRUCT_CALL_REQUIRED

construct call required

Code ERR_CONSTRUCT_CALL_REQUIRED · An issue reported by Node.js.

A constructor for a class was called without new.

Troubleshooting and diagnostic links

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