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:Jump to 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?4 Replies
Did you
composer install
on the production server?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?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.
Alright, good to know!