Closed (fixed)
Project:
Telephone Type
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Aug 2022 at 09:39 UTC
Updated:
22 Sep 2022 at 21:39 UTC
Jump to comment: Most recent
composer require 'drupal/telephone_type:^3.2'
./composer.json has been updated
Running composer update drupal/telephone_type
Gathering patches for root package.
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/telephone_type ^3.2 -> satisfiable by drupal/telephone_type[3.2.0].
- drupal/telephone_type 3.2.0 requires drupal/telephone * -> 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.
I'm suspecting this is because the dependency to the core Telephone module in the .info.yml file is declared without the project prefix ( drupal: ), so composer is attempting to find a contrib drupal/telephone module, which causes it to fail (because that namespace is reserved for the 7.x version of the Telephone project - not the core one).
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
klonosComment #4
klonosComment #5
damienmckennaThe composer.json file needs to be modified, that's what's causing the problem here.
Comment #7
seworthi commentedUpdate info.yml to add project prefix and updated composer to remove dependency to core modules.
Comment #8
seworthi commented