Class Laravel\Telescope\Contracts\EntriesRepository does not exist
See original GitHub issueDescription
When using this package in conjunction with https://github.com/barryvdh/laravel-debugbar, Calling @routes
blade directive or the artisan command triggers the error:
Class Laravel\Telescope\Contracts\EntriesRepository does not exist
Environment
- Laravel version: 7.x
- Ziggy version: 1.0
Related routes:
n/a
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Laravel Telescope Failed to open stream: no such file or ...
I checked after the "fake" installed successfully message if the TelescopeServiceProvider exists now but it still didn't. What did I do wrong ...
Read more >Laravel Telescope - The PHP Framework For Web Artisans
Telescope provides insight into the requests coming into your application, exceptions, log entries, database queries, queued jobs, mail, notifications, cache ...
Read more >Upgrade Guide (Laravel 9.x)
If you are upgrading your Laravel 8 project to Laravel 9 by importing your existing application code into a totally new Laravel 9...
Read more >Laravel Code Tips
Laravel Tip: Default Models. In your relationships, you can define default models. That way if the relationship doesn't exist it will return a...
Read more >Illuminate\Contracts\Container\BindingResolutionException Target ...
Queries related to “Illuminate\Contracts\Container\BindingResolutionException Target class [customersController] does not exist.” laravel route not found ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I do not have Telescope installed. I believe the error is thrown because a route is defined in the debugbar package for Telescope even if it isn’t installed. I’ve located the specific route in the debugbar package:
$router->get('telescope/{id}', [ ' uses' => 'TelescopeController@show', 'as' => 'debugbar.telescope', ]);
TheTelescopeController@show
method has a dependency ofLaravel\Telescope\Contracts\EntriesRepository
, which doesn’t exist unless Telescope is installed.Solved after update to PHP 7.3, Laravel 6.20.27, laravel-debugbar 3.5.7