Closed hatslogic closed 4 years ago
are you using composer2 ? the hirak/prestissimo
plugin is not yet compatible with composer2.
but this is no Shopware related issue :blush:
are you using composer2 ? the
hirak/prestissimo
plugin is not yet compatible with composer2.but this is no Shopware related issue 😊
The composer version on my local machine is 1.10.15, this is what I see when I do composer --version. Could it be an issue with composer version inside docker?
according to @shyim we are indeed using composer2. sorry for the inconvenience :see_no_evil:
this line should be obsolete while using composer2 https://github.com/shopware/development/blob/master/dev-ops/docker/containers/app/Dockerfile#L39
in my opinion this plugin is not need anymore, as composer2 drastically improved its performance :blush:
Thanks Michael :)
When I do the install command in the docker container, its giving a bunch of warnings. It would be nice to clean these up as well.
You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3. Package guzzlehttp/ringphp is abandoned, you should avoid using it. No replacement was suggested. Package guzzlehttp/streams is abandoned, you should avoid using it. No replacement was suggested. Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead. Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.
we could not easily change that, because it will also affect installations without docker, and they could still use composer1 :wink:
the other things would need an update of our dependencies. which might break things so that needs to be tested properly. you may want to create a ticket for that https://issues.shopware.com/
Thanks for your help. I managed to install it, closing the issue.
Getting the following error on brand new macbook pro while installing Shopware 6 using docker.
Changed current directory to /.composer
[RuntimeException] No composer.json present in the current directory, this may be the cause of the following exception.
[InvalidArgumentException] Package hirak/prestissimo at version has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version