Composer error: Package drupal/context_entity_field's dist key should be specified as...

Created on 9 May 2024, about 2 months ago
Updated 23 May 2024, about 1 month ago

Problem/Motivation

There seems to be something wrong with the context_entity_field β†’ module's 2.0.0-alpha2 release during packaging. Here is the output:

./composer.json has been updated
Running composer update drupal/context_entity_field
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies

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

In ArrayLoader.php line 194:
                                                                                                                                     
  Package drupal/context_entity_field's dist key should be specified as {"type": ..., "url": ..., "reference": ..., "shasum": ...},  
  {"type":"zip","url":null,"reference":"2.0.0-alpha2","shasum":""} given.                                                            
                                                                                                                                     

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]

Steps to reproduce

composer require 'drupal/context_entity_field:^2.0@alpha'

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Component

Packaging

Created by

πŸ‡ΊπŸ‡ΈUnited States Daniel Korte Brooklyn, NY

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

Comments & Activities

Production build 0.69.0 2024