savannabits / filament-modules

Integration of Filament with nWidart/laravel-modules: Create independent Filament Files for each Laravel Module
https://filamentphp.com/plugins/coolsam-modules
MIT License
109 stars 22 forks source link

[Bug]: Trait "Filament\Support\Commands\Concerns\CanValidateInput" not found #45

Closed anheru88 closed 1 year ago

anheru88 commented 1 year ago

What happened?

I have this error when I try to install filament modules for filament v3:

PHP Fatal error:  Trait "Filament\Support\Commands\Concerns\CanValidateInput" not found in vendor/coolsam/modules/src/Commands/ModuleMakePanelCommand.php on line 12

   Symfony\Component\ErrorHandler\Error\FatalError 

  Trait "Filament\Support\Commands\Concerns\CanValidateInput" not found

  at vendor/coolsam/modules/src/Commands/ModuleMakePanelCommand.php:12
      8▕ use Illuminate\Support\Str;
      9▕ use Nwidart\Modules\Module;
     10▕ use Nwidart\Modules\Traits\ModuleCommandTrait;
     11▕
     12▕ class ModuleMakePanelCommand extends Command
     13▕ {
     14▕     use CanManipulateFiles;
     15▕     use CanValidateInput;
     16▕     use ModuleCommandTrait;

Using : "filament/filament": v3.0.12 and "nwidart/laravel-modules": v10.0.0

How to reproduce the bug

Install the base packages, and when trying to install filament-modules, don't find some dependencies.

Package Version

v3.0.0-beta.3

PHP Version

8.2

Laravel Version

10

Which operating systems does with happen with?

Linux

Notes

No response

anheru88 commented 1 year ago

Was Solve on Philament new version.