"Failed to instantiate component or class" when calling Craft module
I came across the same issue. So how i solved it is to modify the modules array like this and now the module is loading:

return [
    'modules' =&gt; [
        'zip-assets-craft-3-module' =&gt; [
            'class' =&gt; \modules\zipassetscraft3module\ZipAssetsCraft3Module::class,
        ],
    ],
    'bootstrap' =&gt; ['zip-assets-craft-3-module'],
];