Drupal 8 solving composer problems like "Can only install one of ..."

I've been running into problems with composer several times now in combination with Drupal 8 projects. This blog post shares my problem solving solutions.

"Can only install one of ..." when updating

In many cases this can be resolved by clearing all folders from the "venor" directory and running
composer update PROJECT --with-dependencies again.
If that's not enough you can try to remove your composer.lock file and run the command above again.

Einordnung:

Comments

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.

More information about formatting options

Refresh Type the characters you see in this picture. Type the characters you see in the picture; if you can't read them, submit the form and a new image will be generated. Not case sensitive.  Switch to audio verification.