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

ERR_INVALID_OPT_VALUE_ENCODING

invalid opt value encoding

Code ERR_INVALID_OPT_VALUE_ENCODING · An issue reported by Node.js.

An invalid or unknown file encoding was passed.

Troubleshooting and diagnostic links

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