@frix2022

Ошибка при установке composer require barryvdh/laravel-elfinder?

При попытке установить elfinder на laravel 8 что сделать надо не пойму?

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.
  • Вопрос задан
  • 447 просмотров
Пригласить эксперта
Ответы на вопрос 1
AmdY
@AmdY
PHP и прочие вебштучки
Там же написано Use the option --with-all-dependencies (-W) Он попробует обновить все связанные пакеты
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы