skeith22's avatar

Installing Laravel Telescope package having error with Redis

Laravel v6

When trying to install the Telescope package it's spitting an error on Generating optimize autoload files

renaming the Redis Class on config/app.php

'Redis' => Illuminate\Support\Facades\Redis::class

to

'RedisManager' => Illuminate\Support\Facades\Redis::class

doesn't fix the problem as written in the documentation https://laravel.com/docs/6.x/redis

This is the error being shown on the terminal

Please remove or rename the Redis facade alias in your "app" configuration file in order to avoid collision with the PHP Redis extension.

Does anyone have an idea on how to fix this?

0 likes
4 replies
Sinnbeck's avatar

Did you clear your config cache?

php artisan config:clear
skeith22's avatar

I found the problem, its the environment. AKA Windows 10 environment.

Installing the package inside homestead runs normally and doesn't spit any errors BUT if you run it on windows it will squawk.

The problem with this even after you have installed the package successfully inside the homestead VM. Once you run any php artisan command on your git bash terminal on windows 10 it will show the error again and you can't run any command on your git bash.

This should be addressed on windows 10 environment.

skeith22's avatar

The artisan command is not available once it starts squawking.

skeith22's avatar

Even after successfully installing it inside the homestead VM. it will still squawk in your git bash terminal on your Win10.

Please or to participate in this conversation.