Skip to content

generated folder emptied by module:enable

I have deployed a fresh instance of magento 2.4.8-p2 on a windows host running docker. i can open the home page in my web browser and the site loads. I tried creating a module following Mark Shust’s guide pulling the code from https://github.com/macademy/magento-2-coding-jumpstart/commit/6cbe33c3a0def41f9278a38fb4a5d8da1e4ced25
When i run bin/magento module:enable Macademy_Jumpstart the only output is

Warning: include(/app/vendor/composer/../../generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php): Failed to open stream: No such file or directory in /app/vendor/composer/ClassLoader.php on line 576

After that the site breaks and if i try and run any command i get the same warning. The generated folder is completely empty. I don’t see anything in the logs other than the above warning in exception.log.
Does anyone know what i might be doing wrong? Is there a way i can increase logging/verbosity on the module:enable command to figure out what’s breaking?