I was trying to install a plugin and I removed var/generation and var/cache/*. I've checked the MAGE_MODE and I'm in developer but now when I access the front-end and the admin I get random errors saying mean things like:
Class Magento\Customer\Model\CustomerFactory does not exist
Class Magento\Sales\Model\ResourceModel\Report\OrderFactory does not exist
Some of the classes are being created, but not all. I've tried clearing cache again, and the generation folder but then I just get the same errors.