jsdecena / baserepo

Base repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error display when installing the package

kennethtomagan opened this issue · comments

The package successfully installed but there was an error display in the command line.
I'm using fresh Laravel 6.0

In BaseRepository.php line 43:

  Argument 1 passed to Jsdecena\Baserepo\BaseRepository::__construct() must b
  e an instance of Illuminate\Database\Eloquent\Model, instance of Illuminate
  \Foundation\Application given, called in /home/kenneth/Sites/test1/vendor/l
  aravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 2
  08


Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

@kennethtomagan , this issue is already open at #9

@kennethtomagan Can you try to do compose update now?

in your terminal: composer update jsdecena/baserepo

@jsdecena It's working now. Thanks!