0
當我試圖安裝moltin車則showes以下錯誤無法安裝moltin車在Laravel 4.1
我的作曲家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:\xampp\htdocs\laravel>composer update
使用包信息加載作曲家存儲庫 更新依賴項(包括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,
你也可以去一些[另類購物車包](https://github.com/Crinsane/LaravelShoppingcart) –
謝謝,它解決了 – Ram