Won't install on Pantheon - Drupal 10.3.8

Created on 26 November 2024, 4 months ago

Problem/Motivation

$ composer require 'drupal/ajax_loader:^2.1'
./composer.json has been updated
Running composer update drupal/ajax_loader
> DrupalComposerManaged\ComposerScripts::preUpdate
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/core-recommended is locked to version 10.3.8 and an update of this package was not requested.
    - drupal/core 10.3.8 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.
    - drupal/core-recommended 10.3.8 requires drupal/core 10.3.8 -> satisfiable by drupal/core[10.3.8].  

To enable extensions, verify that they are enabled in your .ini files:
    - C:\Users\hcann\Downloads\php\php-8.3.13-nts-Win32-vs16-x64\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-gd` to temporarily ignore these required extensions.

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

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States hcanning

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

Comments & Activities

  • Issue created by @hcanning
  • πŸ‡ΊπŸ‡ΈUnited States hcanning
  • πŸ‡©πŸ‡ͺGermany mvogel

    Sorry @hcanning,
    but this problem has nothing to do with ajax_loader.

    As the composer error message says, your system wants to install drupal/core 10.3.8 and needs ext-gd on your system but cannot find it. The drupal/core 10.3.8 dependency comes from drupal/core-recommended 10.3.8 in your composer.json.

    ajax_loader does not specify a specific Drupal version (we did not even have a module-based composer.json in the first place). The problem will also occur if you just run `composer update`.

    Try to install or enable ext-gd as suggested, or contact Pantheon support.

    Since this issue appears unrelated, I'll need to close this for now (as I can't reproduce it).

Production build 0.71.5 2024