Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
vagrant@my-api:~/Code/my-api$ composer install --no-dev --optimize-autoloader
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize
PHP Fatal error: Uncaught InvalidArgumentException: Authentication user provider [external-user] is not defined. in /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/CreatesUserProviders.php:40
Stack trace:
#0 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(123): Illuminate\Auth\AuthManager->createUserProvider('users')
#1 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(96): Illuminate\Auth\AuthManager->createSessionDriver('web', Array)
#2 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(70): Illuminate\Auth\AuthManager->resolve('web')
#3 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(294): Illuminate\Auth\AuthManager->guard()
#4 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Illuminate\Auth\AuthManager->__call('check', Array)
#5 /home/vagrant in /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/CreatesUserProviders.php on line 40
PHP Fatal error: Uncaught InvalidArgumentException: Authentication user provider [external-user] is not defined. in /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/CreatesUserProviders.php:40
Stack trace:
#0 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(123): Illuminate\Auth\AuthManager->createUserProvider('users')
#1 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(96): Illuminate\Auth\AuthManager->createSessionDriver('web', Array)
#2 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(70): Illuminate\Auth\AuthManager->resolve('web')
#3 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(294): Illuminate\Auth\AuthManager->guard()
#4 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Illuminate\Auth\AuthManager->__call('check', Array)
#5 /home/vagrant in /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/CreatesUserProviders.php on line 40
Script php artisan optimize handling the post-install-cmd event returned with error code 255
vagrant@my-api:~/Code/my-api$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.