Creating a new recipe with ddev recipe-create badly fails with File "components.composer.json" cannot be found in the current directory

Created on 18 December 2024, about 20 hours ago

Problem/Motivation

@thejimbirch I aim trying to customise the basic Drupal CMS as base point for generating a new Recipe,
thus I am referring to this official instructions on how to accomplish that:

Creating a new recipe:
https://git.drupalcode.org/project/drupal_cms/-/wikis/Contributing-to-Dr...

BUT when I run the following (from the root):

ddev recipe-create drupal_cms_myrecipe

everything breaks with the following (pretty scary one):

Writing ./composer.json

In ConfigCommand.php line 218:
                                                                            
  File "components.composer.json" cannot be found in the current directory  
                                                                            

I really don't have any idea of what could be wrong ... (or I am making wrong).

FYI, I am with the following dev stack:
- Mac OS X Sonoma 14.6.1
- Drupal CMS 1.0.0-rc2 ( https://www.drupal.org/project/cms/releases/1.0.0-rc2 )
- Safari Browser, version 18.2
-. Terminal from PhpStorm 2024.2.4

Attaching screenshot of my PhpStorm screen ...

🐛 Bug report
Status

Active

Component

General

Created by

🇮🇹Italy itamair

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024