Answer the question
In order to leave comments, you need to log in
Error installing composer require barryvdh/laravel-elfinder?
When trying to install elfinder on laravel 8, what should I do, I don’t understand?
Your requirements could not be resolved to an installable set of packages.
Problem 1
- barryvdh/elfinder-flysystem-driver v0.3.0 requires league/flysystem ^1.0 -> found league/flysystem[1.0.0-alpha1, ..., 1.x-dev] but the package is fixed to 3.0.7 (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.
- barryvdh/laravel-elfinder v0.4.7 requires illuminate/support ^5.5|^6|^7|^8 -> found illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-elfinder 0.4.x-dev is an alias of barryvdh/laravel-elfinder dev-master and thus requires it to be installed too.
- barryvdh/laravel-elfinder dev-master requires barryvdh/elfinder-flysystem-driver ^0.3 -> satisfiable by barryvdh/elfinder-flysystem-driver[v0.3.0].
- Root composer.json requires barryvdh/laravel-elfinder ^0.4.7 -> satisfiable by barryvdh/laravel-elfinder[v0.4.7, 0.4.x-dev (alias of dev-master)].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require barryvdh/laravel-elfinder:*" to figure out if any version is installable, or "composer require barryvdh/laravel-elfinder:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Answer the question
In order to leave comments, you need to log in
It also says Use the option --with-all-dependencies (-W) It will try to update all related packages
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question