[Solved] laravel/ui[v3.2.0, ..., 3.x-dev] require illuminate/console ^8.0
Article
Tarif Hossain
Problem :
I am trying to install laravel/ui package through this command:
composer require laravel/ui
But receive this error:
laravel/ui[v3.2.0, ..., 3.x-dev] require illuminate/console ^8.0 -> found illuminate/console[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires laravel/ui ^3.2 -> satisfiable by laravel/ui[v3.2.0, 3.x-dev].
Solution :
To solve this problem you have to run this -
composer require laravel/ui "^1.2"
Special case :
After running that command if the problem is not solved then you have to update Laravel version first.
To update run these commands:
composer update
composer clearcache
composer selfupdate
composer dumpautoload
Also sometimes it helps to delete vendor and return composer install.
After successfully installing composer then run -
composer require laravel/ui
Hope this solution helps you a lot. Please comment below your thoughts and your queries.