Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid duplicate installation #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fredden
Copy link

@fredden fredden commented Oct 11, 2021

Issue

This module is currently configured to copy all its files from vendor/ to app/code/.

Steps to reproduce

  1. Install this module with composer require eightwire/magento2-module-noreservations
  2. Run bin/magento setup:di:compile

Expected result

  • Files for this module are found in vendor/eightwire/magento2-module-noreservations/.
  • No error from bin/magento setup:di:compile

Actual result

  • Files for this module are found in vendor/eightwire/magento2-module-noreservations/ and app/code/EightWire/NoReservations/.
  • bin/magento setup:di:compile fails with an error: Autoload error: Module 'EightWire_NoReservations' from '/var/www/html/app/code/EightWire/NoReservations' has been already defined in '/var/www/html/vendor/eightwire/magento2-module-noreservations'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant