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!
Solution:Jump to 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.
2 Replies
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
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.