fruitcake / laravel-telescope-toolbar

A toolbar for Laravel Telescope, based on the Symfony Web Profiler.
MIT License
778 stars 39 forks source link

BindingResolutionException after installation #52

Open Ronan-Lenor opened 3 years ago

Ronan-Lenor commented 3 years ago

Hello,

i've made a fresh new installation of laravel 8 + jetstream + telescope. then after adding your package, i've got this error after performing a "php artisan route:list" :

   Illuminate\Contracts\Container\BindingResolutionException

  Target [Laravel\Telescope\Contracts\EntriesRepository] is not instantiable while building [Fruitcake\TelescopeToolbar\Http\Controllers\ToolbarController].

  at S:\work\Kantazen\Project\Kantazen\bin\www\laravel-8-js\vendor\laravel\framework\src\Illuminate\Container\Container.php:1042
    1038▕         } else {
    1039▕             $message = "Target [$concrete] is not instantiable.";
    1040▕         }
    1041▕
  ➜ 1042▕         throw new BindingResolutionException($message);
    1043▕     }
    1044▕
    1045▕     /**
    1046▕      * Throw an exception for an unresolvable primitive.

  1   C:\Somewhere\Over\The\Rainbow\laravel-8\vendor\laravel\framework\src\Illuminate\Container\Container.php:839
      Illuminate\Container\Container::notInstantiable("Laravel\Telescope\Contracts\EntriesRepository")

  2   C:\Somewhere\Over\The\Rainbow\laravel-8\vendor\laravel\framework\src\Illuminate\Container\Container.php:712
      Illuminate\Container\Container::build("Laravel\Telescope\Contracts\EntriesRepository")