cakephp-imagine-plugin icon indicating copy to clipboard operation
cakephp-imagine-plugin copied to clipboard

Error loading dependencies with Composer

Open tbelknapsgs opened this issue 3 years ago • 4 comments

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!

tbelknapsgs avatar Aug 03 '21 19:08 tbelknapsgs

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

burzum avatar Aug 20 '21 18:08 burzum

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

tbelknapsgs avatar Aug 23 '21 12:08 tbelknapsgs

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.

burzum avatar Aug 23 '21 12:08 burzum

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

tbelknapsgs avatar Aug 23 '21 12:08 tbelknapsgs