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

Build fails on composer 2 #5489

Closed
DawoudIO opened this issue Nov 3, 2020 · 0 comments · Fixed by #5491
Closed

Build fails on composer 2 #5489

DawoudIO opened this issue Nov 3, 2020 · 0 comments · Fixed by #5491
Assignees
Milestone

Comments

@DawoudIO
Copy link
Contributor

DawoudIO commented Nov 3, 2020

What version of ChurchCRM are you running?

4.2.2

The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
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.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.0.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.0.0] but it does not match the constraint.
    - nexmo/client-core 2.4.1 requires ocramius/package-versions ^1.4 -> satisfiable by ocramius/package-versions[1.4.2].
    - nexmo/client-core is locked to version 2.4.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+.

@DawoudIO DawoudIO added the build label Nov 3, 2020
@DawoudIO DawoudIO added this to the 4.2.3 milestone Nov 3, 2020
@DawoudIO DawoudIO self-assigned this Nov 3, 2020
@DawoudIO DawoudIO closed this as completed Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant