Error Code Portal
Node.jsNode.jsError code

ERR_UNKNOWN_MODULE_FORMAT

unknown module format

Code ERR_UNKNOWN_MODULE_FORMAT · An issue reported by Node.js.

An attempt was made to load a module with an unknown or unsupported format.

Troubleshooting and diagnostic links

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