karliuka / m2.Price

Magento2. Rounding Price to Prettier Value for Multi-Currency Stores.
Open Software License 3.0
65 stars 16 forks source link

Installation issue #25

Open ocramnaig70 opened 2 years ago

ocramnaig70 commented 2 years ago

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

How can I get through it?

Thank you in advance!

karliuka commented 2 years ago

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.