Autoload error

Module 'Amasty_PageSpeedOptimizer' from '/opt/bitnami/apps/magento/htdocs/app/code/Amasty/PageSpeedOptimizer' has been already defined in '/opt/bitnami/apps/magento/htdocs/vendor/amasty/module-page-speed-optimizer'.