unionco / craft-sync-db

MIT License
10 stars 1 forks source link

Conflicting dependency error in Craft CMS latest when trying to install this plugin #8

Open mizziness opened 4 years ago

mizziness commented 4 years ago

Hey there! Hopefully, someone can help :)

Steps to reproduce:

  1. Add unionco/craft-sync-db to project with composer require unionco/craft-sync-db
  2. Error happens immediately

Error message:

$ ../../composer.phar require unionco/craft-sync-db
Using version ^0.7.4 for unionco/craft-sync-db
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - unionco/craft-sync-db 0.7.4 requires unionco/syncdb ^0.7.2.4 -> satisfiable by unionco/syncdb[v0.7.2.4].
    - Installation request for unionco/craft-sync-db ^0.7.4 -> satisfiable by unionco/craft-sync-db[0.7.4].
    - Conclusion: remove vlucas/phpdotenv v2.6.1
    - Conclusion: don't install vlucas/phpdotenv v2.6.1
    - unionco/syncdb v0.7.2.4 requires vlucas/phpdotenv ^3.4.0 -> satisfiable by vlucas/phpdotenv[3.4.x-dev, 3.5.x-dev, 3.6.x-dev].
    - Can only install one of: vlucas/phpdotenv[3.4.x-dev, v2.6.1].
    - Can only install one of: vlucas/phpdotenv[3.5.x-dev, v2.6.1].
    - Can only install one of: vlucas/phpdotenv[3.6.x-dev, v2.6.1].
    - Installation request for vlucas/phpdotenv (locked at v2.6.1, required as ^2.4.0) -> satisfiable by vlucas/phpdotenv[v2.6.1].

Installation failed, reverting ./composer.json to its original content.

Environment Info:

PHP version 7.0.33 Linux 4.4.0-169-generic MySQL 5.7.29 Craft Pro 3.4.10.1