Error thrown when WebP installed within Drupal CMS

Created on 5 April 2025, 7 days ago

Problem/Motivation

When installing WebP from the Project Browser UI within Drupal CMS, I get a popup window titled "Error while installing package(s)" with this error:

StageException: Failed to run process: The command "'/Applications/Launch Drupal CMS.app/Contents/Resources/app/bin/php' '/Applications/Launch Drupal CMS.app/Contents/Resources/app/bin/composer/bin/composer' 'require' '--no-update' 'drupal/webp' '--working-dir=/Users/jon/Documents/drupal'" failed. Exit Code: 1(General error) Working directory: /Users/jon/Documents/drupal/web Output: ================ Error Output: ================ In PackageDiscoveryTrait.php line 339: Could not find a version of package drupal/webp matching your minimum-stabi lity (stable). Require it with an explicit version constraint allowing its desired stability. 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

Spin up a local version of Drupal CMS using the Drupal CMS Mac Launcher tool. Navigate to the "Extend" Drupal page and select "Browse modules". Search for "WebP" and click the "Install" button for the WebP project.

🐛 Bug report
Status

Active

Component

Code

Created by

🇦🇺Australia jaydee1818 Melbourne

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

Comments & Activities

Production build 0.71.5 2024