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

installation failed: update composer/semver to ^3.3.2 #335

Open
pricciafelio opened this issue May 25, 2023 · 4 comments
Open

installation failed: update composer/semver to ^3.3.2 #335

pricciafelio opened this issue May 25, 2023 · 4 comments

Comments

@pricciafelio
Copy link

Composer Info

Composer version 2.3.5 2022-04-13 16:43:00

PHP Info

PHP 8.1.6 (cli) (built: May 12 2022 02:32:13) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.6, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.6, Copyright (c), by Zend Technologies
    with Xdebug v3.1.4, Copyright (c) 2002-2022, by Derick Rethans

To Reproduce
The command run to produce the error:

composer require drutiny/drutiny ^3.6.0

Error output

Problem 1
    - Root composer.json requires drutiny/drutiny ^3.6.0 -> satisfiable by drutiny/drutiny[3.6.x-dev].
    - drutiny/drutiny 3.6.x-dev requires composer/semver ^1.4.2 -> found composer/semver[1.4.2, ..., 1.x-dev] but the package is fixed to 3.3.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Expected behavior
drutiny/drutiny 3.6.x-dev must be installed

Additional context
Update packages

@pricciafelio
Copy link
Author

pricciafelio commented May 25, 2023

perhaps other packages must be upgraded

@bomoko
Copy link

bomoko commented Nov 14, 2023

Presumably the answer is this @pricciafelio?
#286 (comment)

@fiasco
Copy link
Contributor

fiasco commented Nov 15, 2023

Is this still an issue? I'm currently using 1.7.2 with composer 2.

@pricciafelio
Copy link
Author

@fiasco My initial post is on the 25 May on have this morning a notification about the first comment. I must try the solution.
But if this utility must run outside the Drupal projet a better documentation is needed.

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

3 participants