php artisan telescope:install not publishing the assets in laravel

Viewed 2300

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 .

3 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"

You may use Composer to install Telescope into your Laravel project:

composer require laravel/telescope

After installing Telescope, publish its assets using the telescope:install Artisan command.

php artisan telescope:install

After installing Telescope, you should also run the migrate command:

php artisan migrate
Related