Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command "recipe" is not defined. #6

Open
grzegorzbartman opened this issue May 14, 2024 · 5 comments
Open

Command "recipe" is not defined. #6

grzegorzbartman opened this issue May 14, 2024 · 5 comments

Comments

@grzegorzbartman
Copy link

When I run "drush gen recipe" I got this message:

"Command "recipe" is not defined."

Drupal 10.2 + Drush 12 + Recipes patch (https://git.drupalcode.org/project/distributions_recipes/-/blob/1.0.x/docs/getting_started.md ) + DDEV

CleanShot 2024-05-14 at 11 20 40@2x

@kevinquillen
Copy link
Owner

I believe this is due to changes in Drush/Generator dependencies and would have to be updated to conform with those changes.

@quadrexdb
Copy link

Actually, we noticed that the recipe generator doesn't work with 3.0.0 and higher versions of DCG, just because they changed some base classes.

So, added the merge request that adds this support. I think that it should be handled as a separate release supporting ^3.0 DCG.

@freelock
Copy link

This MR works for me, when installed/applied in a site.

I tried installing this project and MR globally (in my user profile), but it does not work there. This is still using drush 12 with PHP8.1.

@itamair
Copy link

itamair commented Dec 23, 2024

FYI ... as it looks some responsiveness is lacking on this repo (probably because it is an old, one, not supported anymore, don't clearly know ...) BUT still there is not any kind of automatic / guided help in creating a Drupal Recipe (out there) so this still looks something theoretically helpful in introducing how to generate those Recipes,
I just also made this git for of mine:
https://github.com/itamair/recipe-generator

and also created a new parallel packagist project here (to eventually composer require from):
https://packagist.org/packages/itamair/recipe-generator

that looks (at some level) still working (not breaking) with Drupal 11 and Drush 13 ...

@kevinquillen
Copy link
Owner

Resolved in the 2.0.x branch for Drupal 11. Have not updated 1.x branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants