orchestral / canvas

Code Generators for Laravel Applications and Packages
https://packagist.org/packages/orchestra/canvas
MIT License
187 stars 12 forks source link

Command "make:seeder" is not defined. #18

Closed sosupp closed 1 year ago

sosupp commented 1 year ago

Description:

Running the command "make:seeder" results in the error attached as a screenshot.

Steps To Reproduce:

run the command: composer exec canvas make:seeder YourSeeder seeder_cmd_error

Possible Solution

Add an entry for the $app->add() for Seeder. See attach screenshot

seeder_cmd_solution

crynobone commented 1 year ago

You can add it on your project canvas.yaml:

https://github.com/orchestral/canvas/blob/d1b37c8bd9dc1372317af17d0a1877e2b18d4052/canvas.yaml#L20-L22