Skip to content

Composer.json is causing double installation when using composer to install. #1

@StephenBadger

Description

@StephenBadger

Due to the "extra": { "map": [ [ "*", "Extend/WarrantyGraphQl" ] ] }

In the composer.json file, this module is installing both in vendor and in the app/code folder. This is causing Magento's autoloader to error out:

Autoload error: Module 'Extend_WarrantyGraphQl' from '/app/app/code/Extend/WarrantyGraphQl' has been already defined in '/app/vendor/extend/module-warranty-graph-ql'.root@de9ecb4c2b18:/app# ls -alht /app/app/code/Extend/WarrantyGraphQl

This in turn prevents us from using composer to manage the module, and would require manual installation in app/code, and then manual management of this module and its dependancies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions