一度設定したモデルを削除し、再度作成したい。

実現したいこと

一度設定したモデルを削除し、再度作成したい。

前提

環境laravel10
練習問題を初めからやり直したくモデルを手動削除後、
php artisan make:XXX -mを再度試しました。

ただ上手くいかず下記エラー分になってしまいます。
この場合どうしたらいいでしょうか?

発生している問題・エラーメッセージ

Livewire\Exceptions\ComponentNotFoundException

Unable to find component: [App\Filament\Resources\PatientResource\RelationManagers\TreatmentsRelationManager]

at vendor/livewire/livewire/src/Mechanisms/ComponentRegistry.php:126
122▕ }
123▕
124▕ // Now that we have a class, we can check that it's actually a Livewire component...
125▕ if (! is_subclass_of($class, Component::class)) {
➜ 126▕ throw new ComponentNotFoundException(
127▕ "Unable to find component: [{$nameOrClass}]"
128▕ );
129▕ }
130▕

+30 vendor frames

31 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation{closure}(Object(Filament\FilamentServiceProvider))
+5 vendor frames

37 artisan:35
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

コメントを投稿

0 コメント