F
Filament10mo ago
Bryan

Class "Filament\Forms\Components\TextArea" not found on production

When my application is deployed, I get the Class "Filament\Forms\Components\TextArea" not found on production. What can I do about this?
Solution:
I fixed the problem already. Somehow locally it doenst recognize capitalization in class names. In this case the problem was TextArea, that should've been Textarea. Do you know why on production this is being recognized as a mistake, but locally it doesn't?
Jump to solution
4 Replies
John
John10mo ago
Did you composer install on the production server?
Solution
Bryan
Bryan10mo ago
I fixed the problem already. Somehow locally it doenst recognize capitalization in class names. In this case the problem was TextArea, that should've been Textarea. Do you know why on production this is being recognized as a mistake, but locally it doesn't?
John
John10mo ago
It has to do with the case sensitivity of the OS. I believe on Mac it won't complain if the case doen't match. But on Windows and Linux it will.
Bryan
Bryan10mo ago
Alright, good to know!