The module definition specifies dependencies but the module is not provided via a function for deferred loading.

This error is triggered when addModule is called with a custom module that defines dependencies, but the module is exported directly rather than through a function that can be invoked at a later point in time.

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