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

Cannot install hirak/prestissimo #1853

Closed
MxyL opened this issue Oct 24, 2020 · 2 comments
Closed

Cannot install hirak/prestissimo #1853

MxyL opened this issue Oct 24, 2020 · 2 comments
Labels

Comments

@MxyL
Copy link

MxyL commented Oct 24, 2020

Getting this error when building the project

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

Just run docker-compose up and it'll crash while building php image

Cause is due to release of composer 2.
hirak/prestissimo#233

I fixed this by modifying docker/php/install-composer.sh to use the previous version

line 14:

php composer-setup.php --quiet --version=1.10.16

But perhaps this package isn't needed anymore in v2.

@MxyL MxyL added the bug label Oct 24, 2020
@alexsegura
Copy link
Member

Thank you @MxyL

Yes, Composer 2.0 has parallel downloads, so it's not needed anymore

@Herz3h
Copy link

Herz3h commented Dec 3, 2020

Ran into same issue, installed version 1 with:

 curl -sS https://getcomposer.org/download/1.10.17/composer.phar -o /var/www/symfony/composer 

jonasberge added a commit to jonasberge/omega-api-decks that referenced this issue Dec 5, 2020
"Package hirak/prestissimo has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version"
coopcycle/coopcycle-web#1853
jonasberge added a commit to jonasberge/omega-api-decks that referenced this issue Dec 5, 2020
"Package hirak/prestissimo has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version"
coopcycle/coopcycle-web#1853
jonasberge added a commit to jonasberge/omega-api-decks that referenced this issue Dec 5, 2020
"Package hirak/prestissimo has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version"
coopcycle/coopcycle-web#1853
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants