Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Error loading dependencies with Composer #53

Open
tbelknapsgs opened this issue Aug 3, 2021 · 4 comments
Open

Error loading dependencies with Composer #53

tbelknapsgs opened this issue Aug 3, 2021 · 4 comments

Comments

@tbelknapsgs
Copy link

thomasbelknap@IKW-BELKNT-MBP one-vision % composer require burzum/cakephp-imagine-plugin
Using version ^4.0 for burzum/cakephp-imagine-plugin
./composer.json has been updated
Running composer update burzum/cakephp-imagine-plugin
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires burzum/cakephp-imagine-plugin ^4.0 -> satisfiable by burzum/cakephp-imagine-plugin[4.0.0].
    - burzum/cakephp-imagine-plugin 4.0.0 requires imagine/imagine 0.6.* -> found imagine/imagine[v0.6.0, v0.6.1, 0.6.2, v0.6.3] but it conflicts with your root composer.json require (1.2.4).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

I cannot downgrade Imagine because it tells me:

- Root composer.json requires imagine/imagine 0.6.0, found imagine/imagine[v0.6.0] but the package is fixed to 1.2.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Any help would be greatly appreciated!

@burzum
Copy link
Owner

burzum commented Aug 20, 2021

I've updated it to * in the 4.0 branch. Let me know if it works and I'll tag a new version.

@tbelknapsgs
Copy link
Author

Sorry, no! I'm getting the same error. For the record, I'm requiring via command line - I've verified that there's no record in the composer.json file.

composer require burzum/cakephp-imagine-plugin

@burzum
Copy link
Owner

burzum commented Aug 23, 2021

You need to do this composer require burzum/cakephp-imagine-plugin:dev-4.x, as I said before.

I'll tag a new version if this works for you.

@tbelknapsgs
Copy link
Author

Message: Could not find package burzum/cakephp-imagine-plugin in a version matching "dev-4.x" and a stability matching "dev".

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

No branches or pull requests

2 participants