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

Installation issue #25

Open
ocramnaig70 opened this issue Nov 8, 2021 · 1 comment
Open

Installation issue #25

ocramnaig70 opened this issue Nov 8, 2021 · 1 comment

Comments

@ocramnaig70
Copy link

Hello,
I'm trying to install the extension on Magento 2.2.8, anyway when I enter the command
composer require faonni/module-price:2.0.*
I get the following error:

The "magento/magento-composer-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.
Problem 1
- magento/magento-composer-installer 0.1.13 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
- magento/product-community-edition 2.2.8 requires magento/magento-composer-installer >=0.1.11 -> satisfiable by magento/magento-composer-installer[0.1.13].
- magento/product-community-edition is locked to version 2.2.8 and an update of this package was not requested.
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.

How can I get through it?

Thank you in advance!

@karliuka
Copy link
Owner

karliuka commented Nov 8, 2021

Hi,
You are using Composer 2 but Magento 2.2.8 supports Composer 1 https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html. You can temporarily switch the version of the composer, install the module and then return the composer to its original state
composer self-update --1
composer require faonni/module-price:2.0.*
composer self-update --2
Or install composer 1 locally for this project.

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

No branches or pull requests

2 participants