Composer require 'drupal/flexslider:3.x-dev@dev' fails with version constraint error

Created on 21 August 2025, about 2 months ago

When attempting to install the module dev-version, the installation fails. Composer reports that it cannot find an exact match for the 3.x-dev@dev constraint.

wodby@php.container:/var/www/html $ composer require 'drupal/flexslider:3.x-dev@dev'
./composer.json has been updated
Running composer update drupal/flexslider
Gathering patches for root package.
Removing package drupal/flexslider so that it can be re-installed and re-patched.
- Removing drupal/flexslider (3.0.0-alpha1)
Deleting modules/contrib/flexslider - deleted
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/flexslider 3.x-dev@dev (exact version match), found drupal/flexslider[dev-2.x, 3.0.0-alpha1, 2.0.0-alpha1, ..., 2.x-dev (alias of dev-2.x), 3.0.0-alpha1] but it does not match the constraint.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

🐛 Bug report
Status

Active

Version

3.0

Component

Miscellaneous

Created by

🇷🇸Serbia super_romeo Belgrade

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024