I'm trying to install this https://github.com/antonioribeiro/tracker package on my Laravel 5.2 using command:
composer require pragmarx/tracker
But then I get this error:
Your requirements could not be resolved to an installable set of packages.
Using version ^2.0 for pragmarx/tracker
./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
- Installation request for pragmarx/tracker ^2.0 -> satisfiable by pragmarx/tracker[v2.0.0].
- Conclusion: remove ramsey/uuid 3.4.1
- Conclusion: don't install ramsey/uuid 3.4.1
- pragmarx/tracker v2.0.0 requires ramsey/uuid ~2.8 -> satisfiable by ramsey/uuid[2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0].
- Can only install one of: ramsey/uuid[2.8.0, 3.4.1].
- Can only install one of: ramsey/uuid[2.8.1, 3.4.1].
- Can only install one of: ramsey/uuid[2.8.2, 3.4.1].
- Can only install one of: ramsey/uuid[2.8.3, 3.4.1].
- Can only install one of: ramsey/uuid[2.8.4, 3.4.1].
- Can only install one of: ramsey/uuid[2.9.0, 3.4.1].
- Installation request for ramsey/uuid (locked at 3.4.1) -> satisfiable by ramsey/uuid[3.4.1].
Installation failed, reverting ./composer.json to its original content.
I don't want to break my application. What should I do?
The new package depends on ramsey/uuid, that line also tells you which versions have been found to satisfy this requirement:
pragmarx/tracker v2.0.0 requires ramsey/uuid ~2.8 -> satisfiable by ramsey/uuid[2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0].
It seems that this package is already installed in a newer version, because these lines appears as well:
- Conclusion: remove ramsey/uuid 3.4.1
- Conclusion: don't install ramsey/uuid 3.4.1
Composer sums this up as following:
- Can only install one of: ramsey/uuid[2.8.0, 3.4.1].
Composer cannot install your new package because you have installed ramsey/uuid in a newer version that is incompatible to the required version.
You can try and send a pull request to the maintainer of pragmarx/tracker with the update of ramsey/uuid. Or you can search for a different package that is compatible with your installed packages.
Related
I'm trying to use this library. php-amqplib.
composer require php-amqplib/php-amqplib
But I am getting this error:
Using version ^2.11#dev for php-amqplib/php-amqplib
./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
- Installation request for php-amqplib/php-amqplib ^2.11#dev -> satisfiable by php-amqplib/php-amqplib[2.11.x-dev, v2.11.0].
- Can only install one of: phpseclib/phpseclib[2.0.x-dev, dev-master].
- Can only install one of: phpseclib/phpseclib[dev-master, 2.0.x-dev].
- Can only install one of: phpseclib/phpseclib[2.0.x-dev, dev-master].
- Conclusion: install phpseclib/phpseclib 2.0.x-dev
- Installation request for phpseclib/phpseclib dev-master -> satisfiable by phpseclib/phpseclib[dev-master].
I solve this myself. By adding
"php-amqplib/php-amqplib": "^2.6"
in require section in composer.json and run composer update
I run this to install dompdf:
composer require barryvdh/laravel-dompdf
And the error looks like this:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for barryvdh/laravel-dompdf ^0.8.1 -> satisfiable by barryvdh/laravel-dompdf[v0.8.1].
- Conclusion: remove dompdf/dompdf v0.7.0
- Conclusion: don't install dompdf/dompdf v0.7.0
- barryvdh/laravel-dompdf v0.8.1 requires dompdf/dompdf ^0.8 -> satisfiable by dompdf/dompdf[v0.8.0, v0.8.1].
- Can only install one of: dompdf/dompdf[v0.8.0, v0.7.0].
- Can only install one of: dompdf/dompdf[v0.8.1, v0.7.0].
- Installation request for dompdf/dompdf (locked at v0.7.0) -> satisfiable by dompdf/dompdf[v0.7.0].
Installation failed, reverting ./composer.json to its original content.
Any of you know what's wrong or what should i do?
The error message states that barryvdh/laravel-dompdf package require "dompdf/dompdf": "^0.8" which is newer version but you have dompdf/dompdf v0.7.0 which is older version installed.
So you should try to remove old version of dompdf to install new version.
Having issues installing Google Cloud PHP client using Composer.
Any ideas how to best resolve the issues:
Using version ^0.33.1 for google/cloud
./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
- Can only install one of: google/auth[v1.0, v0.11.1].
- Can only install one of: google/auth[v1.0, v0.11.1].
- Can only install one of: google/auth[v1.0, v0.11.1].
- google/cloud v0.33.1 requires google/auth ^1.0 -> satisfiable by google/auth[v1.0].
- Installation request for google/cloud ^0.33.1 -> satisfiable by google/cloud[v0.33.1].
- Installation request for google/auth (locked at v0.11.1) -> satisfiable by google/auth[v0.11.1].
Installation failed, reverting ./composer.json to its original content.
sfbstack#villada:~/api/dev$
In my project directory I first executed the following two commands
php C:\ProgramData\ComposerSetup\bin\composer.phar self-update
php C:\ProgramData\ComposerSetup\bin\composer.phar global require "fxp/composer-asset-plugin:~1.1.1"
But executing the command
composer require yiisoft/yii2 2.0.5
yields:
Your version of PHP, 5.4.7, is affected by CVE-2013-6420 and cannot safely perform certificate validation, we strongly suggest you upgrade.
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
./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
- Installation request for yiisoft/yii2 2.0.7 -> satisfiable by yiisoft/yii2[2.0.7].
- Conclusion: remove bower-asset/jquery.inputmask 3.1.63
- Conclusion: don't install bower-asset/jquery.inputmask 3.1.63
- yiisoft/yii2 2.0.7 requires bower-asset/jquery.inputmask ~3.2.2 -> satisfiable by bower-asset/jquery.inputmask[3.2.7, 3.2.6, 3.2.5, 3.2.4, 3.2.3, 3.2.2].
- Can only install one of: bower-asset/jquery.inputmask[3.1.63, 3.2.7].
- Can only install one of: bower-asset/jquery.inputmask[3.1.63, 3.2.6].
- Can only install one of: bower-asset/jquery.inputmask[3.1.63, 3.2.5].
- Can only install one of: bower-asset/jquery.inputmask[3.1.63, 3.2.4].
- Can only install one of: bower-asset/jquery.inputmask[3.1.63, 3.2.3].
- Can only install one of: bower-asset/jquery.inputmask[3.1.63, 3.2.2].
- Installation request for bower-asset/jquery.inputmask (locked at 3.1.63) -> satisfiable by bower-asset/jquery.inputmask[3.1.63].
Installation failed, reverting ./composer.json to its original content.
Any help?
Upgrade from Yii 2.0.6 to Yii 2.0.7, Pls visit this link
Added new requirement: ICU Data version >= 49.1. Please, ensure that your environment has ICU data installed and up to date to prevent unexpected behavior or crashes. This may not be the case on older systems e.g. running Debian Wheezy.
I'm trying to install Mail client on Lumen, but I get the following error:
mahdi#HP-EliteBook:/var/www/lumen$ composer require illuminate/mail
./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
- Can only install one of: illuminate/support[v5.2.0, v5.1.25].
- Can only install one of: illuminate/support[v5.2.0, v5.1.25].
- Can only install one of: illuminate/support[v5.2.0, v5.1.25].
- illuminate/mail v5.2.0 requires illuminate/support 5.2.* -> satisfiable by illuminate/support[v5.2.0].
- Installation request for illuminate/mail 5.2 -> satisfiable by illuminate/mail[v5.2.0].
- Installation request for illuminate/support == 5.1.25.0 -> satisfiable by illuminate/support[v5.1.25].
Installation failed, reverting ./composer.json to its original content.
How do I install Mail on this micro-framework?
Laravel and all the illuminate components were recently updated to 5.2.* (12/21/2015). Lumen, however, has not been updated and still needs the 5.1.* components.
Since you didn't specify the version of illuminate/mail to install, it tried to install the latest version (5.2). You need to require the 5.1 version instead:
composer require illuminate/mail:5.1.*