Filament 3.2 installation returns error Class Redis not found when .env configured as CACHE_STORE=redis
abetterlogic opened this issue · comments
Package
filament/filament
Package Version
v3.2
Laravel Version
11.10
Livewire Version
No response
PHP Version
PHP 8.2
Problem description
Filament installation gives error while installing and setting .env CACHE_STORE=redis
![Screenshot 2024-06-09 at 11 43 51 AM](https://private-user-images.githubusercontent.com/95415398/337951996-95a2d826-16bf-4675-a843-9e080600b69f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc5OTU1NjQsIm5iZiI6MTcxNzk5NTI2NCwicGF0aCI6Ii85NTQxNTM5OC8zMzc5NTE5OTYtOTVhMmQ4MjYtMTZiZi00Njc1LWE4NDMtOWUwODA2MDBiNjlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDA0NTQyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE4NjE4ODJjZTYyZmMxNmQ3Mjk2NGFlODBjNmEzMDY0YjA4ZTZiZjE0MThjYjEwZDI2NDVmNDllNDk1ODczNDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.9HXLn_0-w4qfCaS6gODAjjG-1oMg1cv8xqrWGMTs8CI)
Expected behavior
Installation process should be seamless.
Steps to reproduce
keep .env CACHE_STORE=redis
and try installing through command
composer require filament/filament:"^3.2" -W
Reproduction repository
https://github.com/abetterlogic/abl-plm-sbm-slsabl
Relevant log output
No response
Donate 💰 to fund this issue
- You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
- 100% of the funding will be distributed between the Filament core team to run all aspects of the project.
- Thank you in advance for helping us make maintenance sustainable!
This is not a Filament issue, this is an issue running commands while your app is not configured correctly, you can see in the stack trace that its coming from the TelescopeServiceProvider. You need to set up Redis properly before you can use Redis.