'Interface "Filament\Models\Contracts\FilamentUser" not found

what can be the possible cause of this error, I am using laravel filament for admin, I got this error when I pushed to production, but it is working fine on local enter image description here



Solution 1:[1]

I had the same issue when deploying to staging.

Turns out the filament folder wasn't created in the Vendor folder with composer update

composer install seemed to do the trick

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mike Thrussell