I need to install the ‘nwidart/laravel-modules’ dependencies in my fresh Laravel 11 project. When I try to install them, it returns the following error:
Trait "IlluminateConsoleProhibitable" not found
at vendor/nwidart/laravel-modules/src/Commands/BaseCommand.php:17
13▕ use SymfonyComponentConsoleOutputOutputInterface;
14▕
15▕ use function LaravelPromptsmultiselect;
16▕
➜ 17▕ abstract class BaseCommand extends Command implements PromptsForMissingInput
18▕ {
19▕ use ConfirmableTrait;
20▕ use Prohibitable;
How can i fix it.