hirak / prestissimo

composer parallel install plugin
MIT License
6.18k stars 170 forks source link

Error composer global require hirak/prestissimo #243

Closed eacevedof closed 3 years ago

eacevedof commented 3 years ago

running composer global require hirak/prestissimo I get this error:

[InvalidArgumentException]                                                                                               
  Package hirak/prestissimo has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version                                                                                                                         

Image

avindra commented 3 years ago

@eacevedof not sure about PHP7 support, but see #233 for Composer 2

eacevedof commented 3 years ago

@eacevedof not sure about PHP7 support, but see #233 for Composer 2

Thank you @avindra I was working with no issues till I had to rebuild my containers.

eacevedof commented 3 years ago

Issue #233 has the concerning info about this error.

avindra commented 3 years ago

Hey @eacevedof you should try changing the spec to run with the ignore flag:

composer global require hirak/prestissimo --ignore-platform-reqs

This informs composer that you know what you're doing and to ignore any specific PHP engine constraint.

I vaguely remember Composer1 + hirak/prestissimo + PHP7 working perfectly fine.

The better option is probably to use Composer 2 and uninstall prestissimo.

In any case, the latest release should still work well if you really need Composer 1.