Install fails in new 5.6 project
sunscreem opened this issue · comments
Robert Cooper commented
$ composer require beyondcode/laravel-self-diagnosis
Using version ^0.2.0 for beyondcode/laravel-self-diagnosis
./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 beyondcode/laravel-self-diagnosis ^0.2.0 -> satisfiable by beyondcode/laravel-self-diagnosis[0.2.0].
- Conclusion: remove vlucas/phpdotenv v2.4.0
- Conclusion: don't install vlucas/phpdotenv v2.4.0
- beyondcode/laravel-self-diagnosis 0.2.0 requires vlucas/phpdotenv ~2.5 -> satisfiable by vlucas/phpdotenv[2.5.x-dev, v2.5.0].
- Can only install one of: vlucas/phpdotenv[2.5.x-dev, v2.4.0].
- Can only install one of: vlucas/phpdotenv[v2.5.0, v2.4.0].
- Installation request for vlucas/phpdotenv (locked at v2.4.0) -> satisfiable by vlucas/phpdotenv[v2.4.0].
Installation failed, reverting ./composer.json to its original content.
Can I give you any further info?
Robert Cooper commented
I'm thinking this indicates I've a package installed which requires vlucas/phpdotenv
v2.4.0 and this is causing the problem?
Marcel Pociot commented
What does composer why vlucas/phpdotenv
give you?
Robert Cooper commented
composer why vlucas/phpdotenv
laravel/framework v5.6.26 requires vlucas/phpdotenv (~2.2)
Marcel Pociot commented
Please do a composer update
in order to pull in version 2.5 of phpdotenv.
Then you should be able to install this package.
Robert Cooper commented
There we go!
Good job, looks like you are all set up.
Sorry for the n00b issue!