Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

php artisan telescope:install not publishing the assets in laravel

Tags:

i have a laravel 6 app that i want to install the telescope in that i did all the commands like composer update and composer dump-autoload and then i install the telescope every thing is going fine and when i run php artisan telescope:install i get the message below :

Publishing Telescope Service Provider...
Publishing Telescope Assets...
Publishing Telescope Configuration...
Telescope scaffolding installed successfully.

but it wont generate the config file and migration so when i run php artisan migrate i get this message :

nothing to migrate

thus i cant access the telescope . please advice .

like image 223
Farshad Avatar asked Oct 09 '19 11:10

Farshad


1 Answers

For me, the installation was incomplete, so I comment the API provider and cleared the cache. And re-installed.

As given in the article: https://panjeh.medium.com/new-installation-of-laravel-telescope-fails-418afa2b8972

"was this new line in the config/app.php file: App\Providers\TelescopeServiceProvider::class, That causes the error and it seems the installation was not complete and only that line was added! So I commented that line in the config/app.php file"

like image 139
urvi sharma Avatar answered Sep 21 '22 09:09

urvi sharma