Error Code Portal
Node.jsNode.jsError code

ERR_INVALID_RETURN_PROPERTY

invalid return property

Code ERR_INVALID_RETURN_PROPERTY · An issue reported by Node.js.

Thrown in case a function option does not provide a valid value for one of its returned object properties on execution.

Troubleshooting and diagnostic links

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