Open romain-aragon opened 3 years ago
Hi there, thank you for creating this ticket. I'll have a look this week.
@romain-aragon Seems as though this is an issue with mautic.
Please see this answer here: https://github.com/mautic/composer-plugin/issues/1#issuecomment-769917056
You can use composer 1 to install the plugin for now.
@KonstantinCodes There is now a new recommended way of declaring a Mautic plugin that allows to use it with Mautic 4 & Composer 2: https://github.com/mautic/composer-plugin/pull/2#pullrequestreview-795805831
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
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.