Error Code Portal
Node.jsNode.jsError codeLegacy · Check supported versions

ERR_NAPI_CONS_PROTOTYPE_OBJECT

napi cons prototype object

Code ERR_NAPI_CONS_PROTOTYPE_OBJECT · An issue reported by Node.js.

Used by the Node-API when Constructor.prototype is not an object.

Troubleshooting and diagnostic links

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