Dependency Formatting

Created on 6 June 2024, 21 days ago
Updated 24 June 2024, 4 days ago

Problem

When I attempt to add this module via composer, I get an error stating that it requires drupal/language-language which could not be found in any version, there may be a typo in the package name.

Proposed resolution

Within frontpage_per_lang.info.yml, change language:language to drupal:language

Steps to reproduce

composer require 'drupal/frontpage_per_lang:^1.0'

Error Message Displayed

./composer.json has been updated
Running composer update drupal/frontpage_per_lang
Gathering patches for root package.
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/frontpage_per_lang ^1.0 -> satisfiable by drupal/frontpage_per_lang[1.0.0, 1.0.2, 1.0.3, 1.x-dev].
    - drupal/frontpage_per_lang[1.0.0, ..., 1.x-dev] require drupal/language-language * -> could not be found in any version, there may be a typo in the package name.

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 and ./composer.lock to their original content.
🐛 Bug report
Status

Fixed

Version

1.0

Component

Miscellaneous

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024