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

Failed to install #8

Open
khaledkarman opened this issue Feb 26, 2024 · 1 comment
Open

Failed to install #8

khaledkarman opened this issue Feb 26, 2024 · 1 comment

Comments

@khaledkarman
Copy link

PHP 8.0.23
Composer version 2.5.8 2023-06-09 17:13:21

composer require adnanhussainturki/microsoft-api-php
./composer.json has been updated
Running composer update adnanhussainturki/microsoft-api-php
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - adnanhussainturki/microsoft-api-php[0.01, ..., 0.04] require microsoft/microsoft-graph ^1.0 -> found microsoft/microsoft-graph[1.0.0, ..., 1.110.0] but it conflicts with your root composer.json require (^2.2).
    - Root composer.json requires adnanhussainturki/microsoft-api-php * -> satisfiable by adnanhussainturki/microsoft-api-php[0.01, 0.02, 0.03, 0.04].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require adnanhussainturki/microsoft-api-php:*" to figure out if any version is installable, or "composer require adnanhussainturki/microsoft-api-php:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
@ArjunKishore
Copy link

This package require microsoft/microsoft-graph ^1.0 if you are using microsoft/microsoft-graph ^2.0 it would cause this error

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

2 participants