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

Unable to install older Shopware versions which include hirak/prestissimo #177

Open
dblaichinger opened this issue Mar 7, 2022 · 0 comments

Comments

@dblaichinger
Copy link

PHP Version

7.2

Shopware Version

6.2.3

Expected behaviour

./psh.phar docker:start runs successfully.

Actual behaviour

Error on ./psh.phar docker:start

#18 268.4 [InvalidArgumentException]
#18 268.4 Package hirak/prestissimo has requirements incompatible with your PHP version, PHP extensions and Composer version:
#18 268.4 - hirak/prestissimo 0.3.10 requires composer-plugin-api ^1.0.0 which does not match your installed version 2.2.0.

How to reproduce

Re-production steps

  1. git checkout v6.2.3
  2. ./psh.phar docker:start

Cause

  • php-apache image uses Composer v2 by default, which makes the require of hirak/prestissimo unnecessary.

Solutions

RUN composer1 install -d /app
ENV COMPOSER_VERSION=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant