laravel-ide-helper: PHP Fatal error on generate

Using L4.2.9 and v1.11.3 of this helper. I run the following commands (as per the readme)

php artisan clear-compiled
php artisan ide-helper:generate

I get the following error

PHP Fatal error:  Call to undefined method Illuminate\Support\Facades\Auth::driver() in /srv/www/api-develop/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 205
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Call to undefined method Illuminate\\Support\\Facades\\Auth::driver()","file":"\/srv\/www\/api-develop\/vendor\/laravel\/framework\/src\/Illuminate\/Support\/Facades\/Facade.php","line":205}}

Not sure if this is an issue with the Facade or the ide helper.

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 18 (12 by maintainers)

Most upvoted comments

Are you using append_config() in the local config? Otherwise you are overwriting the first couple of service providers from the global one…