shahriar
4 سال پیش توسط shahriar مطرح شد
3 پاسخ

مشکل کامپوزر

سلام دوستان
کامپوزرم مشکل داره هیچ کاری نمیتونم کنم

Microsoft Windows [Version 10.0.18363.1082]
(c) 2019 Microsoft Corporation. All rights reserved.
G:\projects\laravel>composer require paragonie/random_compat:2.*
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - The requested package guzzlehttp/guzzle (locked at 6.5.5, required as ^7.0.1) is satisfiable by guzzlehttp/guzzle[6.5.5] but these conflict with your requirements or
minimum-stability.
  Problem 2
    - The requested package laravel/framework (locked at v7.25.0, required as ^8.0) is satisfiable by laravel/framework[v7.25.0] but these conflict with your requirements o
r minimum-stability.
  Problem 3
    - The requested package nunomaduro/collision (locked at v4.2.0, required as ^5.0) is satisfiable by nunomaduro/collision[v4.2.0] but these conflict with your requiremen
ts or minimum-stability.
  Problem 4
    - The requested package phpunit/phpunit (locked at 8.5.8, required as ^9.0) is satisfiable by phpunit/phpunit[8.5.8] but these conflict with your requirements or minimu
m-stability.
  Problem 5
    - Conclusion: remove cviebrock/eloquent-sluggable 7.0.1
    - Conclusion: don't install cviebrock/eloquent-sluggable 7.0.1
    - Conclusion: don't install laravel/framework v8.1.0
    - Conclusion: don't install laravel/framework v8.0.4
    - Conclusion: don't install laravel/framework v8.0.3
    - Conclusion: don't install laravel/framework v8.0.2
    - Conclusion: don't install laravel/framework v8.0.1
    - Installation request for cviebrock/eloquent-sluggable (locked at 7.0.1, required as ^7.0) -> satisfiable by cviebrock/eloquent-sluggable[7.0.1].
    - Conclusion: don't install laravel/framework v8.0.0
    - cviebrock/eloquent-sluggable 7.0.1 requires illuminate/support ^7.0 -> satisfiable by laravel/framework[v7.25.0], illuminate/support[7.x-dev, v7.0.0, v7.0.1, v7.0.2,
v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.10.0, v7.10.1, v7.10.2, v7.10.3, v7.11.0, v7.12.0, v7.13.0, v7.14.0, v7.14.1, v7.15.0, v7
.16.0, v7.16.1, v7.17.0, v7.17.1, v7.17.2, v7.18.0, v7.19.0, v7.19.1, v7.2.0, v7.2.1, v7.2.2, v7.20.0, v7.21.0, v7.22.0, v7.22.1, v7.22.2, v7.22.3, v7.22.4, v7.23.0, v7.23.
1, v7.23.2, v7.24.0, v7.25.0, v7.26.0, v7.26.1, v7.27.0, v7.28.0, v7.28.1, v7.3.0, v7.4.0, v7.5.0, v7.5.1, v7.5.2, v7.6.0, v7.6.1, v7.6.2, v7.7.0, v7.7.1, v7.8.0, v7.8.1, v
7.9.0, v7.9.1, v7.9.2].
    - Can only install one of: laravel/framework[8.x-dev, v7.25.0].
    - don't install illuminate/support 7.x-dev|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.0.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.0.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.0.2|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.0.3|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.0.4|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.0.5|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.0.6|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.0.7|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.0.8|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.1.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.1.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.1.2|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.1.3|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.10.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.10.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.10.2|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.10.3|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.11.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.12.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.13.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.14.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.14.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.15.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.16.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.16.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.17.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.17.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.17.2|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.18.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.19.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.19.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.2.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.2.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.2.2|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.20.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.21.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.22.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.22.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.22.2|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.22.3|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.22.4|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.23.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.23.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.23.2|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.24.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.25.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.26.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.26.1|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.27.0|don't install laravel/framework 8.x-de
- don't install illuminate/support v7.25.0|don't install laravel/framework 8.x-dev
    - don't install illuminate/support v7.26.0|don't install laravel/framework 8.x-de
v
    - don't install illuminate/support v7.26.1|don't install laravel/framework 8.x-de
v
    - don't install illuminate/support v7.27.0|don't install laravel/framework 8.x-de
v
    - don't install illuminate/support v7.28.0|don't install laravel/framework 8.x-de
v
    - don't install illuminate/support v7.28.1|don't install laravel/framework 8.x-de
v
    - don't install illuminate/support v7.3.0|don't install laravel/framework 8.x-dev

    - don't install illuminate/support v7.4.0|don't install laravel/framework 8.x-dev

    - don't install illuminate/support v7.5.0|don't install laravel/framework 8.x-dev

    - don't install illuminate/support v7.5.1|don't install laravel/framework 8.x-dev

    - don't install illuminate/support v7.5.2|don't install laravel/framework 8.x-dev

فایل composer.json

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "rackspace/php-opencloud": "dev-master",
        "php": "^7.2.5",
        "cviebrock/eloquent-sluggable": "^7.0",
        "fideloper/proxy": "^4.2",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^7.0.1",
        "intervention/image": "^2.5",
        "laravel/framework": "^8.0",
        "laravel/tinker": "^2.0"
    },
    "require-dev": {
        "facade/ignition": "^2.3.6",
        "fzaninotto/faker": "^1.9.1",
        "mockery/mockery": "^1.3.1",
        "nunomaduro/collision": "^5.0",
        "phpunit/phpunit": "^9.0"
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/"
        },
        "classmap": [
            "database/seeds",
            "database/factories"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "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"
        ]
    }
}

ثبت پرسش جدید
shahriar
تخصص : learning .....
@shahriar 4 سال پیش مطرح شد
حسام موسوی
تخصص : طراح و برنامه نویس
@hesammousavi 4 سال پیش مطرح شد
1

مشکل از کامپوزر نیست دوست عزیز
شما احتمالا لاراول 8 رو نصب کردید پکیجی که سعی در نصبش دارید هنوز برای لاراول 8 آپدیت نشده برای همین نمیتونه در لاراول 8 نصب بشه به همین سادگی


علی بیات
تخصص : توسعه دهنده ارشد وب
@ali.bayat 4 سال پیش مطرح شد
1

نسخه ۷.۲۵ یا ۷.۲۶ لاراول رو نصب کنی مشکلت حل میشه.


برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام