MODULE_INVALID_DEFINITION 3001

The definition of the module is invalid (e.g. incomplete).

This error is triggered when addModule is called with an invalid module definition, for example when the name or the module property is missing.

Make sure the custom module definition is valid and follows the specification.