F
Filament4w ago
Keen

Newly cloned filament project unable to run

Hi, I'm kinda new to FilamentPHP. And I'm stuck with the installation part. I cloned a filament repo and during installation, I'm getting an error message: "Call to a member function colors() on null". I can't do any php artisan commands because of this error. What I've done so far: 1. Recloned and reinstalled the project 2. Deleted vendor and composer.lock and composer install Any ideas? Thanks in advance!
No description
Solution:
I installed it on a different laptop and it works fine. I might have a faulty environment in my Windows PC. Very weird. It might have something to do with incorrectly installed Laravel Herd or it is conflicting with other configurations since I've used laragon way back.
Jump to solution
2 Replies
Mohamed Ayaou
Mohamed Ayaou4w ago
it is just a behavior in php artisan commands, they load many parts of your code base during its excution you should be able to run composer commands link install and update, which are the direct fix to the error message
Solution
Keen
Keen4w ago
I installed it on a different laptop and it works fine. I might have a faulty environment in my Windows PC. Very weird. It might have something to do with incorrectly installed Laravel Herd or it is conflicting with other configurations since I've used laragon way back.

Did you find this page helpful?