Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing issue during installation - monolog/monolog 2.0.2 #173

Closed
rajurajpurohit opened this issue Feb 19, 2020 · 4 comments
Closed

Facing issue during installation - monolog/monolog 2.0.2 #173

rajurajpurohit opened this issue Feb 19, 2020 · 4 comments
Assignees

Comments

@rajurajpurohit
Copy link

rajurajpurohit commented Feb 19, 2020

PHP version: PHP 7.2
Library version: ^6.0
Description
Facing issue during installation - monolog/monolog 2.0.2 with Laravel. Package requires a lower version of monolog and laravel is having higher version (conflict with version).

@roman-ali
Copy link

roman-ali commented Feb 21, 2020

I'm having the same issue (with slightly different version of monolog i.e. 2.0.0).

./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 adyen/php-api-library ^6.0 -> satisfiable by adyen/php-api-library[6.0.0].
- Conclusion: remove monolog/monolog 2.0.0
- Conclusion: don't install monolog/monolog 2.0.0
- adyen/php-api-library 6.0.0 requires monolog/monolog ~1.16 -> satisfiable by monolog/monolog[1.16.0, 1.17.0, 1.17.1, 1.17.2, 1.18.0, 1.18.1, 1.18.2, 1.19.0, 1.20.0, 1.21.0, 1.22.0, 1.22.1, 1.23.0, 1.24.0, 1.25.0, 1.25.1, 1.25.2, 1.25.3, 1.x-dev].
- Can only install one of: monolog/monolog[1.16.0, 2.0.0].
- Can only install one of: monolog/monolog[1.17.0, 2.0.0].
- Can only install one of: monolog/monolog[1.17.1, 2.0.0].
- Can only install one of: monolog/monolog[1.17.2, 2.0.0].
- Can only install one of: monolog/monolog[1.18.0, 2.0.0].
- Can only install one of: monolog/monolog[1.18.1, 2.0.0].
- Can only install one of: monolog/monolog[1.18.2, 2.0.0].
- Can only install one of: monolog/monolog[1.19.0, 2.0.0].
- Can only install one of: monolog/monolog[1.20.0, 2.0.0].
- Can only install one of: monolog/monolog[1.21.0, 2.0.0].
- Can only install one of: monolog/monolog[1.22.0, 2.0.0].
- Can only install one of: monolog/monolog[1.22.1, 2.0.0].
- Can only install one of: monolog/monolog[1.23.0, 2.0.0].
- Can only install one of: monolog/monolog[1.24.0, 2.0.0].
- Can only install one of: monolog/monolog[1.25.0, 2.0.0].
- Can only install one of: monolog/monolog[1.25.1, 2.0.0].
- Can only install one of: monolog/monolog[1.25.2, 2.0.0].
- Can only install one of: monolog/monolog[1.25.3, 2.0.0].
- Can only install one of: monolog/monolog[1.x-dev, 2.0.0].
- Installation request for monolog/monolog (locked at 2.0.0) -> satisfiable by monolog/monolog[2.0.0].

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

@Aleffio
Copy link
Member

Aleffio commented Feb 24, 2020

Hi @rajurajpurohit and @roman-ali ,

Thanks for raising the issue and providing the details,
we are providing a fix for it and will be merged soon,

Kind Regards,
Alessio
Adyen

@Aleffio Aleffio self-assigned this Feb 24, 2020
Aleffio added a commit that referenced this issue Feb 25, 2020
Change monolog requirement for conflict with Laravel, fixes #173
@Aleffio Aleffio mentioned this issue Feb 25, 2020
@WiktorPacer
Copy link

PHP Version: 7.3
Package version: ^6.2
Description: Problem during installation with Laravel version 7.6.2.
Problem 1 - Installation request for adyen/php-api-library ^6.2 -> satisfiable by adyen/php-api-library[6.2.0]. - Conclusion: remove monolog/monolog 2.0.2 - Conclusion: don't install monolog/monolog 2.0.2 - adyen/php-api-library 6.2.0 requires monolog/monolog ^1.16 -> satisfiable by monolog/monolog[1.16.0, 1.17.0, 1.17.1, 1.17.2, 1.18.0, 1.18.1, 1.18.2, 1.19.0, 1.20.0, 1.21.0, 1.22.0, 1.22.1, 1.23.0, 1.24.0, 1.25.0, 1.25.1, 1.25.2, 1.25.3, 1.25.4, 1.x-dev]. - Can only install one of: monolog/monolog[1.16.0, 2.0.2]. - Can only install one of: monolog/monolog[1.17.0, 2.0.2]. - Can only install one of: monolog/monolog[1.17.1, 2.0.2]. - Can only install one of: monolog/monolog[1.17.2, 2.0.2]. - Can only install one of: monolog/monolog[1.18.0, 2.0.2]. - Can only install one of: monolog/monolog[1.18.1, 2.0.2]. - Can only install one of: monolog/monolog[1.18.2, 2.0.2]. - Can only install one of: monolog/monolog[1.19.0, 2.0.2]. - Can only install one of: monolog/monolog[1.20.0, 2.0.2]. - Can only install one of: monolog/monolog[1.21.0, 2.0.2]. - Can only install one of: monolog/monolog[1.22.0, 2.0.2]. - Can only install one of: monolog/monolog[1.22.1, 2.0.2]. - Can only install one of: monolog/monolog[1.23.0, 2.0.2]. - Can only install one of: monolog/monolog[1.24.0, 2.0.2]. - Can only install one of: monolog/monolog[1.25.0, 2.0.2]. - Can only install one of: monolog/monolog[1.25.1, 2.0.2]. - Can only install one of: monolog/monolog[1.25.2, 2.0.2]. - Can only install one of: monolog/monolog[1.25.3, 2.0.2]. - Can only install one of: monolog/monolog[1.25.4, 2.0.2]. - Can only install one of: monolog/monolog[1.x-dev, 2.0.2]. - Installation request for monolog/monolog (locked at 2.0.2) -> satisfiable by monolog/monolog[2.0.2].

I see this issue was resolved but I think this change of composer.json caused the problem - 7097f0d

@cyattilakiss
Copy link
Contributor

Hi @WiktorPacer

Yes that one caused the issue. Please use the latest version of the library where we don't require a specific version of the monolog anymore. If you would still keep using the one which you are using now just change the composer.json as a quick fix, that will work as well.

Best,
Attila
Adyen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants