Skip to content

Support Composer 2 #2

@PierreAmmeloot

Description

@PierreAmmeloot

Hello,

In my terminal (via SSH), I go to this folder:
/home/ppmautic/www/plugins

I use this command:
composer require mtcextendee/mautic-custom-import-bundle

I have this error message:

Info from https://repo.packagist.org: #StandWithUkraine
Using version ^1.1 for mtcextendee/mautic-custom-import-bundle
./composer.json has been created
Running composer update mtcextendee/mautic-custom-import-bundle
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - mautic/composer-plugin[1.0.0, ..., 1.0.1] require composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - mtcextendee/mautic-custom-import-bundle 1.1.0 requires mautic/composer-plugin ^1.0 -> satisfiable by mautic/composer-plugin[1.0.0, 1.0.1].
    - Root composer.json requires mtcextendee/mautic-custom-import-bundle ^1.1 -> satisfiable by mtcextendee/mautic-custom-import-bundle[1.1.0].

You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.

It's possible to update to support Composer 2?

Pierre

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