m2.Price icon indicating copy to clipboard operation
m2.Price copied to clipboard

Installation issue

Open ocramnaig70 opened this issue 2 years ago • 1 comments

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!

ocramnaig70 avatar Nov 08 '21 17:11 ocramnaig70

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.

karliuka avatar Nov 08 '21 20:11 karliuka