Tell me please. When installing composer require krizalys/onedrive-php-sdk i have a problems. How i can fix this?

24 views
Skip to first unread message

Артем Станиславенко

unread,
Apr 21, 2020, 7:19:16 AM4/21/20
to composer-users
Deprecation warning: Your package name my tpl is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
Using version ^2.6 for krizalys/onedrive-php-sdk
./composer.json has been updated
Deprecation warning: Your package name my tpl is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
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 krizalys/onedrive-php-sdk ^2.6 -> satisfiable by krizalys/onedrive-php-sdk[2.6.0].
    - Conclusion: remove guzzlehttp/guzzle 6.2.3
    - Conclusion: don't install guzzlehttp/guzzle 6.2.3
    - krizalys/onedrive-php-sdk 2.6.0 requires guzzlehttp/guzzle ^6.3.3 -> satisfiable by guzzlehttp/guzzle[6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3].
    - Can only install one of: guzzlehttp/guzzle[6.3.3, 6.2.3].
    - Can only install one of: guzzlehttp/guzzle[6.4.0, 6.2.3].
    - Can only install one of: guzzlehttp/guzzle[6.4.1, 6.2.3].
    - Can only install one of: guzzlehttp/guzzle[6.5.0, 6.2.3].
    - Can only install one of: guzzlehttp/guzzle[6.5.1, 6.2.3].
    - Can only install one of: guzzlehttp/guzzle[6.5.2, 6.2.3].
    - Can only install one of: guzzlehttp/guzzle[6.5.3, 6.2.3].
    - Installation request for guzzlehttp/guzzle (locked at 6.2.3) -> satisfiable by guzzlehttp/guzzle[6.2.3].


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

David Naber

unread,
Apr 23, 2020, 3:55:36 AM4/23/20
to compose...@googlegroups.com
Hi,

the package krizalys/onedrive-php-sdk requires Guzzle at version 6.3 or
higher but it's locked at version 6.2 in your set of packages. That
means some package depends on Guzzle version 6.2.

Run composer why guzzlehttp/guzzle to find out what package requires
guzzle and update it if possible.

Kind regards
David

Am 21.04.20 um 13:19 schrieb Артем Станиславенко:
--
David Naber
Software Developer

Phone: +49 2202 81790 20
Mail: d.n...@inpsyde.com
Web: https://inpsyde.com

Jordi Boggiano

unread,
Apr 23, 2020, 4:31:10 AM4/23/20
to compose...@googlegroups.com
This locked at ... message is because you did a partial update (via
composer require command).

Pass --update-with-dependencies to the require command and it should
resolve fine.

Best,
Jordi
Jordi Boggiano
@seldaek - https://seld.be

Reply all
Reply to author
Forward
0 new messages