安装 laravel/ui 时出现以下错误。
Using version ^2.0 for laravel/ui
Problem 1
- Conclusion: remove laravel/framework v6.18.0
- Conclusion: don't install laravel/framework v6.18.0
- laravel/ui 2.x-dev requires illuminate/support ^7.0 -> satisfiable by laravel/framework[7.x-dev], illuminate/support[7.x-dev, v7.0.0, v7.0.1].
- laravel/ui v2.0.0 requires illuminate/support ^7.0 -> satisfiable by laravel/framework[7.x-dev], illuminate/support[7.x-dev, v7.0.0, v7.0.1].
- Can only install one of: laravel/framework[7.x-dev, v6.18.0].
- don't install illuminate/support 7.x-dev|don't install laravel/framework v6.18.0
- don't install illuminate/support v7.0.0|don't install laravel/framework v6.18.0
- don't install illuminate/support v7.0.1|don't install laravel/framework v6.18.0
- Installation request for laravel/framework (locked at v6.18.0, required as ^6.2) -> satisfiable by laravel/framework[v6.18.0].
- Installation request for laravel/ui ^2.0 -> satisfiable by laravel/ui[2.x-dev, v2.0.0].
我的 laravel 版本是 6.18 这里是一些重要的内容composer.json
"require": {
"php": "^7.2",
"fideloper/proxy": "^4.0",
"laravel/framework": "^6.2",
"laravel/tinker": "^2.0"
},
"require-dev": {
"facade/ignition": "^1.4",
"fzaninotto/faker": "^1.9.1",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^3.0",
"phpunit/phpunit": "^8.0"
}
如何解决这个问题呢?