require illuminate/console ^8.42|^9.0 -> found illuminate/console[v8.42.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev] but these were not loaded, likely because it conflicts with another require.
composer require laravel/ui:^2.4
instead of
composer require laravel/ui
// just specify specific version which you want to download instead of the
// latest one