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

composer install fails #155

Open
andres-asm opened this issue Oct 6, 2022 · 2 comments
Open

composer install fails #155

andres-asm opened this issue Oct 6, 2022 · 2 comments

Comments

@andres-asm
Copy link

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

  • OroCommerce version: 5.0.0
  • PHP version: 8.1
  • Database (MySQL)

Additional information
image

@andres-asm andres-asm changed the title compose install fails composer install fails Oct 6, 2022
@andres-asm
Copy link
Author

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

@mbessolov
Copy link
Member

Please check if an older (<2.3.0) Composer version works, as it looks similar to oroinc/platform#1081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants