Error: The `url` supplied for the path (drupal_cms_olivero) repository does not exist

Created on 19 December 2024, 2 days ago

Problem/Motivation

When you checkout and launch the latest dev of Drupal CMS, it seems like the installation of modules via Project Browser is broken. This is working in rc2 and it was also working before.

If I try to install a module using Project Browser UI (for example recaptcha), I get:

StageException: Failed to run process: The command "'/var/www/html/vendor/bin/composer' '--working-dir=/tmp/.package_manager9cf50362-0d6e-4efa-a710-ed0456b9364c/tJVzY798JLzJOGs5dmd1yatYDCD5wLtT' 'require' '--no-update' 'drupal/recaptcha'" failed. Exit Code: 1(General error) Working directory: /var/www/html/web Output: ================ Error Output: ================ In PathRepository.php line 163: The `url` supplied for the path (drupal_cms_olivero) repository does not exist

Steps to reproduce

Install latest Drupal CMS dev (I checked all recommended recipes in the installer)
Go to /admin/modules/browse
Try to install a module (for example recaptcha)
Observe the error

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Component

General

Created by

πŸ‡ΈπŸ‡°Slovakia poker10

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

Comments & Activities

  • Issue created by @poker10
  • πŸ‡ΈπŸ‡°Slovakia poker10

    Updated IS to note that I am using ddev.

  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    My response on Slack:

    So you cannot test Package Manager in the context of our DDEV project. It won’t work for several reasons that I’m too tired to explain right now. Long story short, you gotta spin up a β€œreal” project to do it.
    composer create-project drupal/cms:1.x-dev

    Does that get you any further?

  • πŸ‡ΈπŸ‡°Slovakia poker10

    Yes, It is working with composer create-project. So probably moving just as a documentation issue? Thanks!

  • πŸ‡ΈπŸ‡°Slovakia poker10
  • πŸ‡¦πŸ‡ΊAustralia pameeela

    It would be cool if we could find a way to disable installing via the UI in the ddev setup; but I'm not sure how yet.

Production build 0.71.5 2024