Open sicksix opened 4 years ago
Problem confirmed, also with --ignore-platform-reqs.
Well, just use the most recent release (for the time being). COPS just works.
I hope Sebastien can do something to this problem during lock-up in France. Stay safe!
Edit: a very temporary dirty fix (download the old composer phar)
Install from sources git clone https://github.com/seblucas/cops.git cd cops https://getcomposer.org/download/1.9.0/composer.phar php composer.phar global require "fxp/composer-asset-plugin:~1.1" php composer.phar install --no-dev --optimize-autoloader
Edit2: tested, and it still works as I expected it too.
Wow, you just saved my day here with the suggestion to download v1.9.0. Thanks!
I am unable to install COPs because of the new composer 2.0. Any ideas?
pi@BOOK:/var/www/html/ebooks $ php composer.phar global require "fxp/composer-asset-plugin:~1.1" Changed current directory to /home/pi/.config/composer ./composer.json has been created 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 a snapshot build of Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report an issue to them to ask them to support Composer 2. To work around this you can run Composer with --ignore-platform-reqs, but this will also ignore your PHP version and may result in bigger problems down the line.
Installation failed, deleting ./composer.json.