burzum / cakephp-imagine-plugin

CakePHP wrapper for the powerful Imagine image processing library. Makes images manipulation easy and powerful.
MIT License
137 stars 36 forks source link

Error loading dependencies with Composer #53

Open tbelknapsgs opened 3 years ago

tbelknapsgs commented 3 years ago
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 commented 3 years ago

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

tbelknapsgs commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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