oroinc / orocommerce

Main OroCommerce package with core functionality.
http:///www.orocommerce.com/
Other
193 stars 84 forks source link

composer install fails #155

Open andres-asm opened 2 years ago

andres-asm commented 2 years ago

Summary
I am following this document to install OroCommerce CE https://doc.oroinc.com/backend/setup/dev-environment/docker-and-symfony/#setup-dev-env-docker-symfony-recommendations

When I run composer install -d I get this error:

  [TypeError]
  Symfony\Component\Process\Process::__construct(): Argument #1 ($command) must be of type array, string given, called in /home/andre/prodigitude/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Composer/PermissionsHandler.php on line 110

Steps to reproduce
Follow steps here: https://doc.oroinc.com/backend/setup/dev-environment/docker-and-symfony/ubuntu/ Fix the path because it has to be symfony5 in the path Then follow this: https://doc.oroinc.com/backend/setup/dev-environment/docker-and-symfony/#setup-dev-env-docker-symfony-recommendations

Actual Result

  [TypeError]
  Symfony\Component\Process\Process::__construct(): Argument #1 ($command) must be of type array, string given, called in /home/andre/prodigitude/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Composer/PermissionsHandler.php on line 110

Expected Result
Installation would succeed

Details about your environment

Additional information
image

andres-asm commented 2 years ago

Noone? I can't even install like this. Perhaps I need an older simfony cli?

mbessolov commented 2 years ago

Please check if an older (<2.3.0) Composer version works, as it looks similar to https://github.com/oroinc/platform/issues/1081