k2so-dev / laravel-nuxt

Laravel and Nuxt.js boilerplate designed for development with maximum API performance, ready-made authorization methods, image uploading with optimization, user roles, device management
MIT License
164 stars 29 forks source link

Redis not found #7

Closed alniv94 closed 2 months ago

alniv94 commented 4 months ago

Class redis not found when i run migrate.

image

k2so-dev commented 4 months ago

@alniv94 Hello. You need to install the php redis extension.

alniv94 commented 4 months ago

Hello @k2so-dev i added the redis dll file in xammp and to php.ini now i got this error image

i have no problem on redis in laravel 10 even in fresh install laravel 11

k2so-dev commented 4 months ago

@alniv94 You can try clearing the cache: php artisan optimize:clear php artisan optimize

Regenerate the ide helper code: php artisan ide-helper:generate

alniv94 commented 3 months ago

It still did not work, i tried to clone this in different machine still got the same error.

k2so-dev commented 3 months ago

@alniv94 Try installing a fresh Laravel and enabling Redis as cache, queue and throttling with redis, then check if the problem persists.