无法在Laravel 4.1中安装moltin推车



当我试图安装moltin推车时,它显示以下错误

我的composer json代码是

{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
    "laravel/framework": "4.1.*",
    "illuminate/support": "4.1.*",
    "intervention/image": "2.2.*",
    "moltin/laravel-cart": "dev-master"
},
"autoload": {
    "classmap": [
        "app/commands",
        "app/controllers",
        "app/models",
        "app/database/migrations",
        "app/database/seeds",
        "app/tests/TestCase.php"
    ]
},
"scripts": {
    "post-install-cmd": [
        "php artisan optimize"
    ],
    "post-update-cmd": [
        "php artisan clear-compiled",
        "php artisan optimize"
    ],
    "post-create-project-cmd": [
        "php artisan key:generate"
    ]
},
"config": {
    "preferred-install": "dist"
},
"minimum-stability": "dev",
"prefer-stable": true

}

它显示以下错误

C:xampphtdocslaravel>composer update

正在加载包含包信息的composer存储库更新依赖项(包括require-dev)无法将您的要求解析为一组可安装的程序包。

Problem 1
    - Conclusion: don't install laravel/framework v4.1.31
    - Conclusion: don't install laravel/framework v4.1.30
    - Conclusion: don't install laravel/framework v4.1.29
    - Conclusion: don't install laravel/framework v4.1.28
    - Conclusion: don't install laravel/framework v4.1.27
    - Conclusion: don't install laravel/framework v4.1.26
    - Conclusion: don't install laravel/framework v4.1.25
    - Conclusion: don't install laravel/framework v4.1.24
    - Conclusion: don't install laravel/framework v4.1.23
    - Conclusion: don't install laravel/framework v4.1.22
    - Conclusion: don't install laravel/framework v4.1.21
    - Conclusion: don't install laravel/framework v4.1.20
    - Conclusion: don't install laravel/framework v4.1.19
    - Conclusion: don't install laravel/framework v4.1.18
    - Conclusion: don't install laravel/framework v4.1.17
    - Conclusion: don't install laravel/framework v4.1.16
    - Conclusion: don't install laravel/framework v4.1.15
    - Conclusion: don't install laravel/framework v4.1.14
    - Conclusion: don't install laravel/framework v4.1.13
    - Conclusion: don't install laravel/framework v4.1.12
    - Conclusion: don't install laravel/framework v4.1.11
    - Conclusion: don't install laravel/framework v4.1.10
    - Conclusion: don't install laravel/framework v4.1.9
    - Conclusion: don't install laravel/framework v4.1.8
    - Conclusion: don't install laravel/framework v4.1.7
    - Conclusion: don't install laravel/framework v4.1.6
    - Conclusion: don't install laravel/framework v4.1.5
    - Conclusion: don't install laravel/framework v4.1.4
    - Conclusion: don't install laravel/framework v4.1.3
    - Conclusion: don't install laravel/framework v4.1.2
    - Conclusion: don't install laravel/framework v4.1.1
    - Installation request for moltin/laravel-cart dev-master -> satisfiable by
      moltin/laravel-cart[dev-master].
    - Conclusion: don't install laravel/framework v4.1.0
    - Conclusion: remove laravel/framework 4.1.x-dev
    - moltin/laravel-cart dev-master requires laravel/framework ~5.0 -> satisfia
     ble by laravel/framework[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev].
    - Can only install one of: laravel/framework[5.0.x-dev, 4.1.x-dev].
    - Can only install one of: laravel/framework[5.1.x-dev, 4.1.x-dev].
    - Can only install one of: laravel/framework[5.2.x-dev, 4.1.x-dev].
    - Can only install one of: laravel/framework[5.3.x-dev, 4.1.x-dev].
    - Installation request for laravel/framework 4.1.* -> satisfiable by laravel
     /framework[4.1.x-dev, v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13,      

就在错误消息中:

moltin/laravel-cart dev-master requires laravel/framework ~5.0

你要么更新laravel,要么找到一个在4.1上运行的laravel cart分支。可能是4.2标签

相关内容

  • 没有找到相关文章

最新更新