Skip to content
Advertisement

Laravel is not working with require laravel/ui

On executing composer require laravel/ui

I am getting below problems

Using version ^3.2 for laravel/ui

./composer.json has been updated

Running composer update laravel/ui Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 – Root composer.json requires nesbot/carbon 2.0.0-beta.2 as 1.25.0, found nesbot/carbon[2.0.0-beta.2] but the package is fixed to 1.39.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Problem 2 – Root composer.json requires kylekatarnls/laravel-carbon-2 ^1.0.0 -> satisfiable by kylekatarnls/laravel-carbon-2[1.0.0]. – kylekatarnls/laravel-carbon-2 1.0.0 requires nesbot/carbon ^2.0.0-beta.2 -> found nesbot/carbon[2.0.0-beta.2, …, 2.46.0] but the package is fixed to 1.39.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Problem 3 – Root composer.json requires laravel/ui ^3.2 -> satisfiable by laravel/ui[v3.2.0]. – laravel/ui v3.2.0 requires illuminate/console ^8.0 -> found illuminate/console[v8.0.0, …, v8.33.1] but these were not loaded, likely because it conflicts with another require.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content. Composer File

Advertisement

Answer

the issue resolved there is old version set on env variable on system that’s why Laravel was installing on old version . I just add new env to system and start re installing the larval, I hope this will resolve my issue

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement