fortify icon indicating copy to clipboard operation
fortify copied to clipboard

Composer error

Open korovindenis opened this issue 4 years ago • 2 comments

Hello, I get an error:

`> composer require orchid/fortify Using version ^0.0.5 for orchid/fortify ./composer.json has been updated Running composer update orchid/fortify Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 - Root composer.json requires orchid/fortify ^0.0.5 -> satisfiable by orchid/fortify[0.0.5]. - orchid/fortify 0.0.5 requires orchid/platform ^9.6 -> found orchid/platform[9.6.0, ..., 9.x-dev] but it conflicts with your root composer.json require (^10.4).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.`

korovindenis avatar Jun 03 '21 18:06 korovindenis

composer.json

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "require": {
        "php": "^7.3|^8.0",
        "fideloper/proxy": "^4.4",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^7.0.1",
        "laravel/fortify": "^1.7",
        "laravel/framework": "^8.40",
        "laravel/tinker": "^2.5",
        "orchid/platform": "^10.4"
    },
    "require-dev": {
        "facade/ignition": "^2.5",
        "fakerphp/faker": "^1.9.1",
        "laravel/sail": "^1.0.1",
        "mockery/mockery": "^1.4.2",
        "nunomaduro/collision": "^5.0",
        "phpunit/phpunit": "^9.3.3"
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/",
            "Database\\Factories\\": "database/factories/",
            "Database\\Seeders\\": "database/seeders/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}

korovindenis avatar Jun 03 '21 18:06 korovindenis

I see composer has been updated for newest orchid/platform (^10.5) but no release has been created. You can either wait for the new release or use composer require orchid/fortify:dev-master

elvenpath avatar Jun 21 '21 09:06 elvenpath