您的要求无法解决为一组可安装的软件包。 -laravel护照

时间:2018-07-22 07:53:39

标签: laravel composer-php laravel-passport

    {
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": "^7.1.3",
        "fideloper/proxy": "^4.0",
        "laravel/framework": "5.6.*",
        "laravel/tinker": "^1.0"
    },
    "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
}

问题:

 - Conclusion: don't install laravel/passport v6.0.6
    - Conclusion: don't install laravel/passport v6.0.5
    - Conclusion: don't install laravel/passport v6.0.4
    - Conclusion: don't install laravel/passport v6.0.3
    - Conclusion: don't install laravel/passport v6.0.2
    - Conclusion: don't install laravel/passport v6.0.1
    - Conclusion: don't install laravel/passport v6.0.0
    - Conclusion: don't install laravel/passport 6.0.x-dev
    - Conclusion: remove paragonie/random_compat v9.99.9
     

安装失败,将./composer.json恢复为原始状态   内容。

如何解决此问题?

0 个答案:

没有答案