When i try to upgrade the setup from the magento root folder in cmd, using
php bin/magento setup:upgrade
i get below error
Autoload error: An abstract factory could not create an instance of magentosetup consolecommandmoduleuninstallcommand(alias: Magento\Setup\Console\Command\Module UninstallCommand).
Can anyone suggest what is the issue.?