- Issue created by @mxr576
- Merge request !228Add branch alias to help Composer with dependency resolution → (Open) created by mxr576
By following the setup steps defined in https://github.com/ddev/ddev-drupal-contrib the following command fails:
❯ ddev poser
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8552 100 8552 0 0 32585 0 --:--:-- --:--:-- --:--:-- 32517
drupalConstraint=^11
core_version=11
Writing output to composer.contrib.json
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
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/search_api_autocomplete 1.x-dev -> satisfiable by drupal/search_api_autocomplete[1.x-dev (alias of dev-1.x)].
- drupal/search_api_autocomplete dev-1.x requires drupal/search_api ^1.0 -> satisfiable by drupal/search_api[dev-1.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x)] from composer repo (https://packages.drupal.org/8) but drupal/search_api dev-8.x-1.x is the root package and cannot be modified. See https://getcomposer.org/dep-on-root for details and assistance.
- drupal/search_api_autocomplete 1.x-dev is an alias of drupal/search_api_autocomplete dev-1.x and thus requires it to be installed too.
touch: cannot touch 'web/core/.env': No such file or directory
This is caused by the recently merged change to 8.x-1.x branch: https://git.drupalcode.org/project/search_api/-/commit/998ab169e1c9f7da0...
Active
1.0
General code