I am trying to run
php bin/magento setup:upgrade
but every time I am getting the below error.
Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for Magento\Setup\Mvc\Bootstrap\InitParamListener
The same error is also coming while running setup:di:compile. I have also run composer upgrade, but no success at all.