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

Error when run passport:installl #53

Open
nduydoan opened this issue Jul 14, 2021 · 1 comment
Open

Error when run passport:installl #53

nduydoan opened this issue Jul 14, 2021 · 1 comment

Comments

@nduydoan
Copy link

nduydoan commented Jul 14, 2021

I run php artisan passport:install has error
Symfony\Component\Debug\Exception\FatalThrowableError : Argument 1 passed to Laravel\Passport\Console\ClientCommand::outputClientDetails() must be an instance of Laravel\Passport\Client, instance of DesignMyNight\Mongodb\Passport\Client given, called in D:\Projects\basiganh\vendor\laravel\passport\src\Console\ClientCommand.php on line 69

        "php": "^7.2.5|^8.0",
        "designmynight/laravel-mongodb-passport": "2.0.1",
        "jenssegers/mongodb": "3.6.*",
        "fideloper/proxy": "^4.4",
        "laravel/framework": "^6.20.26",
        "laravel/passport": "8.0",
        "laravel/tinker": "^2.5",
        "laravel/ui": "1.3"
    }

Pls help me.

@1115332213
Copy link

I run php artisan passport:install has error
Symfony\Component\Debug\Exception\FatalThrowableError : Argument 1 passed to Laravel\Passport\Console\ClientCommand::outputClientDetails() must be an instance of Laravel\Passport\Client, instance of DesignMyNight\Mongodb\Passport\Client given, called in D:\Projects\basiganh\vendor\laravel\passport\src\Console\ClientCommand.php on line 69

        "php": "^7.2.5|^8.0",
        "designmynight/laravel-mongodb-passport": "2.0.1",
        "jenssegers/mongodb": "3.6.*",
        "fideloper/proxy": "^4.4",
        "laravel/framework": "^6.20.26",
        "laravel/passport": "8.0",
        "laravel/tinker": "^2.5",
        "laravel/ui": "1.3"
    }

Pls help me.

I guess you use 'composer require designmynight/laravel-mongodb-passport' directly, please try install this add version like this 'composer require designmynight/laravel-mongodb-passport 1.2.9', wish my reply can help you

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