Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target class [PragmaRX\CountriesLaravel\Package\Update\Updater] does not exist #26

Open
olivsinz opened this issue Mar 29, 2021 · 1 comment

Comments

@olivsinz
Copy link

olivsinz commented Mar 29, 2021

I think there's an issue when updating countries because when I want run php artisan countries:update with the package ("pragmarx/countries-laravel": "^0.7.0"), it says:

 Illuminate\Contracts\Container\BindingResolutionException

  Target class [PragmaRX\CountriesLaravel\Package\Update\Updater] does not exist.

  at vendor/laravel/framework/src/Illuminate/Container/Container.php:835
    831▕
    832▕         try {
    833▕             $reflector = new ReflectionClass($concrete);
    834▕         } catch (ReflectionException $e) {
  ➜ 835▕             throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
    836▕         }
    837▕
    838▕         // If the type is not instantiable, the developer is attempting to resolve
    839▕         // an abstract type such as an Interface or Abstract Class and there is +22 vendor frames

  23  artisan:37
      Illuminate\Foundation\Console\Kernel::handle()

My Laravel version :


$ php artisan -V
Laravel Framework 8.34.0

How to reproduce :
Run countries update artisan command after installing the package on Laravel 8

php artisan countries:update
@casperwilkes
Copy link

casperwilkes commented Jul 4, 2021

Any movement on this?

I think some dependencies broke. it was working for me, then i uninstalled it, and when i reinstalled it yesterday, i ran into the same issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants