illuminate/bus packages were not loaded, likely because it conflicts with another require

Viewed 19

Lavavel & PHP versions:

Laravel: 7
PHP: 7.4.30

I am trying to install pbmedia/laravel-ffmpeg package using composer like so:

composer require pbmedia/laravel-ffmpeg

On the first try the error message was this:

  Problem 1
    - pbmedia/laravel-ffmpeg[7.8.0, ..., 7.x-dev] require league/flysystem ^1.1.4 -> found league/flysystem[1.1.4, ..., 1.x-dev] but the package is fixed to 1.0.69 (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.

So I tried upgrading league/flysystem:

composer update league/flysystem

But after trying to install pbmedia/laravel-ffmpeg the error message changed to this:

  Problem 1
    - pbmedia/laravel-ffmpeg[7.8.0, ..., 7.x-dev] require illuminate/bus ^8.67 -> found illuminate/bus[v8.67.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.

How do I fix this error? I tried installing illuminate/bus:

composer require illuminate/bus^8.67

But it gave:

The "https://packagist.org/providers/illuminate/bus^8.67.json" file could not be downloaded (HTTP/2 404 )
1 Answers

Run the following command to find out why you can not install a certain package:

composer why-not <package> <version>

In your case:

composer why-not illuminate/bus ^8.67
Related