schedula / laravel-passport-socialite

The missing social authentication plugin (i.e. SocialGrant) for laravel passport.
MIT License
50 stars 31 forks source link

Your requirements could not be resolved to an installable set of packages. #4

Closed Efrain177 closed 6 years ago

Efrain177 commented 6 years ago

Hello any idea about what is wrong at the moment of installing this package?

Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json to its original content.

anandsiddharth commented 6 years ago

can you post contents of composer.json

Efrain177 commented 6 years ago

{ "name": "laravel/laravel", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "type": "project", "require": { "php": "^7.1.3", "aws/aws-sdk-php-laravel": "~3.0", "doctrine/dbal": "~2.3", "fideloper/proxy": "^4.0", "hivokas/laravel-passport-social-grant": "^1.0", "infyomlabs/adminlte-templates": "5.6.x-dev", "infyomlabs/laravel-generator": "5.6.x-dev", "intervention/image": "^2.4", "laracasts/utilities": "^3.0", "laravel/framework": "5.6.*", "laravel/passport": "^6.0", "laravel/socialite": "^3.0", "laravel/tinker": "^1.0", "laravelcollective/html": "^5.6.0", "league/flysystem-aws-s3-v3": "~1.0", "league/flysystem-cached-adapter": "~1.0", "openpay/sdk": "dev-master", "pusher/pusher-php-server": "^3.1", "spatie/laravel-backup": "^5.7", "spatie/laravel-permission": "^2.12" }, "require-dev": { "filp/whoops": "^2.0", "fzaninotto/faker": "^1.4", "mockery/mockery": "^1.0", "nunomaduro/collision": "^2.0", "phpunit/phpunit": "^7.0" }, "autoload": { "classmap": [ "database/seeds", "database/factories" ], "psr-4": { "App\": "app/" } }, "autoload-dev": { "psr-4": { "Tests\": "tests/" } }, "extra": { "laravel": { "dont-discover": [ ] } }, "scripts": { "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate" ], "post-autoload-dump": [ "Illuminate\Foundation\ComposerScripts::postAutoloadDump", "@php artisan package:discover" ] }, "config": { "preferred-install": "dist", "sort-packages": true, "optimize-autoloader": true }, "minimum-stability": "dev", "prefer-stable": true }

anandsiddharth commented 6 years ago

Hi @Efrain177, The issue was on a dependent package, It was compatible with Laravel Passport ^5 but didn't support ^6. It has been fixed now: https://github.com/schedula/league-oauth2-social/releases/tag/v1.0.3

Try installing this package again.