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

Hi, cannot install with composer 2.0 (installed in the official docker image for mautic 3.0) #28

Open
romain-aragon opened this issue Jun 9, 2021 · 3 comments

Comments

@romain-aragon
Copy link

here the console output :
root@d4e1c93169c1:/var/www/html# composer require koco/mautic-recaptcha-bundle:3.*
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
The "robloach/component-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
./composer.json has been created
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
The "robloach/component-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Running composer update koco/mautic-recaptcha-bundle
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- koco/mautic-recaptcha-bundle[3.0.0, ..., 3.0.1] require mautic/composer-plugin ^1.0 -> satisfiable by mautic/composer-plugin[1.0.0, 1.0.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.
- Root composer.json requires koco/mautic-recaptcha-bundle 3.* -> satisfiable by koco/mautic-recaptcha-bundle[3.0.0, 3.0.1].

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.

Installation failed, deleting ./composer.json.

@KonstantinCodes
Copy link
Owner

Hi there, thank you for creating this ticket. I'll have a look this week.

@KonstantinCodes
Copy link
Owner

KonstantinCodes commented Jun 12, 2021

@romain-aragon Seems as though this is an issue with mautic.

Please see this answer here: mautic/composer-plugin#1 (comment)

You can use composer 1 to install the plugin for now.

@TonyBogdanov
Copy link

@KonstantinCodes There is now a new recommended way of declaring a Mautic plugin that allows to use it with Mautic 4 & Composer 2: mautic/composer-plugin#2 (review)

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 a pull request may close this issue.

3 participants