Framework: Error installing Passport on Laravel

Created on 18 May 2017  路  2Comments  路  Source: laravel/framework

  • Laravel Version: 5.4
  • PHP Version: 5.6

On a clean installation of Laravel 5.4 I proceed to install passport ( ignoring migrations ).

C:\xampp\htdocs\AdrianSilvestre>php artisan passport:install
PHP Fatal error:  Call to undefined method Laravel\Passport\Passport::isDeferred() in C:\xampp\htdocs\AdrianSilvestre\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php on line 149


  [Symfony\Component\Debug\Exception\FatalErrorException]
  Call to undefined method Laravel\Passport\Passport::isDeferred()

Most helpful comment

Do you have the correct serviceprovider in your config/app.php?

It should be Laravel\Passport\PassportServiceProvider::class

I am guessing you have Laravel\Passport\Passport::class

All 2 comments

Do you have the correct serviceprovider in your config/app.php?

It should be Laravel\Passport\PassportServiceProvider::class

I am guessing you have Laravel\Passport\Passport::class

Please report on the correct repository.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

digirew picture digirew  路  3Comments

lzp819739483 picture lzp819739483  路  3Comments

SachinAgarwal1337 picture SachinAgarwal1337  路  3Comments

fideloper picture fideloper  路  3Comments

RomainSauvaire picture RomainSauvaire  路  3Comments