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

Argument 1 passed to Symfony\Component\Process\Process::__construct() must be of the type array #117

Open
shubaivan opened this issue Apr 21, 2023 · 0 comments

Comments

@shubaivan
Copy link

ubuntu 22.10. composer 2.2.5 (latest) and php 8.2 (from the box, by default)
Faced with an error when trying to execute the composer install

Problem 1

ocramius/package-versions is locked to version 1.4.2 and an update of this package was not requested.
ocramius/package-versions 1.4.2 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.3.0] but it does not match the constraint.
Problem 2
ocramius/package-versions 1.4.2 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.3.0] but it does not match the constraint.
doctrine/orm v2.7.3 requires ocramius/package-versions ^1.2 -> satisfiable by ocramius/package-versions[1.4.2].
doctrine/orm is locked to version v2.7.3 and an update of this package was not requested.

when trying to execute composer update faced with

Argument 1 passed to Symfony\Component\Process\Process::__construct() must be of the type array

To resolve it had to downgrade composer to 2.2.1.
Could you check it, please?

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