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 error #524

Open
gonzasylv opened this issue May 4, 2021 · 1 comment
Open

composer error #524

gonzasylv opened this issue May 4, 2021 · 1 comment

Comments

@gonzasylv
Copy link
Contributor

Q A
Bug report? [ x ]
Feature request? [ ]
Support request? [ ]

hi @cocolabssas ,

I can no longer install cocorico with composer.

Error: php composer.phar install

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
- ocramius/package-versions is locked to version 1.2.0 and an update of this package was not requested.
- ocramius/package-versions 1.2.0 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 2
- robloach/component-installer is locked to version 0.2.3 and an update of this package was not requested.
- robloach/component-installer 0.2.3 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 3
- wikimedia/composer-merge-plugin is locked to version v1.4.1 and an update of this package was not requested.
- wikimedia/composer-merge-plugin v1.4.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 4
- robloach/component-installer 0.2.3 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
- helios-ag/fm-elfinder-bundle 6.2.1 requires robloach/component-installer ~0.2 -> satisfiable by robloach/component-installer[0.2.3].
- helios-ag/fm-elfinder-bundle is locked to version 6.2.1 and an update of this package was not requested.

ocramius/package-versions only provides support for Composer 2 in 1.8+, which requires PHP 7.4.
If you can not upgrade PHP you can require composer/package-versions-deprecated to resolve this with PHP 7.0+.

You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.

OS: debian 10
Php: 7.3

@onalekitso
Copy link

onalekitso commented May 10, 2021

Good day

Please downgrade composer to version 1 It worked for me.

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

2 participants