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

Update composer packages #89

Open
VincEnterprise opened this issue Oct 28, 2020 · 1 comment
Open

Update composer packages #89

VincEnterprise opened this issue Oct 28, 2020 · 1 comment

Comments

@VincEnterprise
Copy link

VincEnterprise commented Oct 28, 2020

When I'm trying to install this theme with the composer command:

composer create-project justintadlock/mythic theme-name

I get the following error:

Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - composer/installers is locked to version v1.6.0 and an update of this package was not requested.
    - composer/installers v1.6.0 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 2
    - dealerdirect/phpcodesniffer-composer-installer is locked to version v0.4.4 and an update of this package was not requested.
    - dealerdirect/phpcodesniffer-composer-installer v0.4.4 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.

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.

Is there any chance the PHPCS and Installers packages could be updated so that I can use this with an up-to-date version of Composer?

@webstractions
Copy link

In your composer.json file update the codesniffer dev require to 0.7.0, which works in 2 and compatible with 1 as well.

"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0"

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