vendredi 11 décembre 2020

ERROR IN INSTALLING 'laravelcollective/html:^5.4.0'

Am new to laravel and i want to add a form to my project. when i run composer require 'laravelcollective/html:^5.4.0'. I get the following the following error.

./composer.json has been updated Running composer update laravelcollective/html --with-dependencies 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 laravel/framework ^5.4, found laravel/framework[v5.4.0, ..., 5.8.x-dev] but the package is fixed to v8.14.0 (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 phpunit/phpunit ^5.7, found phpunit/phpunit[5.7.0, ..., 5.7.27] but the package is fixed to 9.4.3 (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 laravelcollective/html 5.4.0 -> satisfiable by laravelcollective/html[v5.4]. - laravelcollective/html v5.4 requires illuminate/http 5.4.* -> found illuminate/http[v5.4.0, ..., 5.4.x-dev] but 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.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire