Target class [filament] does not exist.

Hi my app just runs fine on local and when I deployed it to staging it gives that error, I'm using v2, and FilamentShield was the major update I did in this PR, any help on where I can start debugging it?
Solution:
- Check the installed version - Try composer dump-autoload - Try removing vendor/ and reinstalling via composer...
Jump to solution
4 Replies
Solution
Dennis Koch
Dennis Koch2y ago
- Check the installed version - Try composer dump-autoload - Try removing vendor/ and reinstalling via composer
YoussefMaged
YoussefMagedOP2y ago
What do you mean by check installed version?
Dennis Koch
Dennis Koch2y ago
Check what version of filament, shield, ... is really installed on that system via composer and see whether it matches want you want to install.
YoussefMaged
YoussefMagedOP2y ago
Thank you @Dennis Koch removing /vendor reinstalling it then doing composer dump-autoload fixed it for me, thanks a dozen 🙏

Did you find this page helpful?