laravellaravel-ui

How to solve problems while installing ui in laravel?


While installing laravel/ui I got this following error.

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].

I'm using laravel version 6.18. How to solve this problem?


Solution

  • Laravel ui has been released alongside Laravel 7 about an hour ago and Laravel ui 2.0 depends on Laravel 7.

    Either upgrade your project to Laravel 7 or install Laravel ui 1.x instead.