Problem/Motivation
Composer require failure DrupalCI automated test is getting failed.
Composer require failure - View results on dispatcher
--- Commands Executed ---
sudo -u www-data /usr/local/bin/composer require drupal/sm_appdashboard_apigee 1.x-dev --prefer-stable --no-progress --no-suggest --no-interaction --working-dir /var/www/html
Return Code: 2
--- Output ---
--- Errors ---
./composer.json has been updated
> Drupal\Composer\Composer::ensureComposerVersion
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 drupal/sm_appdashboard_apigee 1.x-dev -> satisfiable by drupal/sm_appdashboard_apigee[1.x-dev].
- drupal/sm_appdashboard_apigee 1.x-dev requires drupal/apigee_edge_teams-apigee_edge_teams * -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
Steps to reproduce
Proposed resolution
If a module is a contributed module on drupal.org, has dependencies on other modules, and wishes to test changes to those dependencies using DrupalCI as part of development, they must have a composer.json that expresses those Drupal module dependencies (DrupalCI can only detect changes to dependencies in patches within composer.json, not in .info or .info.yml files.)
https://www.drupal.org/docs/creating-custom-modules/add-a-composerjson-file
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3174576-3.patch | 1.22 KB | rakesh.gectcr |
Comments
Comment #2
rakesh.gectcrComment #3
rakesh.gectcrComment #5
rakesh.gectcrHappy to see Drupal CI test getting passed.