Autoload error

Module 'Amasty_Base' from '/var/www/html/magento2/app/code/Amasty/Base' has been already defined in '/var/www/html/magento2/vendor/amasty/base'.