Error Code Portal
Node.jsNode.jsError code

ERR_INVALID_MODULE

invalid module

Code ERR_INVALID_MODULE · An issue reported by Node.js.

An attempt was made to load a module that does not exist or was otherwise not valid.

Troubleshooting and diagnostic links

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