I am trying to add Rollbar with:
composer require rollbar/rollbar-laravel
And I get this response:
Problem 1
- Root composer.json requires laravel/framework ^9.19, found laravel/framework[v9.19.0, ..., 9.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 2
- laravel/sanctum is locked to version v3.2.1 and an update of this package was not requested.
- laravel/sanctum v3.2.1 requires illuminate/console ^9.21|^10.0 -> found illuminate/console[v9.21.0, ..., 9.x-dev, 10.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 3
- laravel/tinker is locked to version v2.8.0 and an update of this package was not requested.
- laravel/tinker v2.8.0 requires illuminate/console ^6.0|^7.0|^8.0|^9.0|^10.0 -> found illuminate/console[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev, 10.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 4
- laravel/breeze is locked to version v1.18.0 and an update of this package was not requested.
- laravel/breeze v1.18.0 requires illuminate/console ^9.21|^10.0 -> found illuminate/console[v9.21.0, ..., 9.x-dev, 10.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 5
- laravel/sail is locked to version v1.18.1 and an update of this package was not requested.
- laravel/sail v1.18.1 requires illuminate/console ^8.0|^9.0|^10.0 -> found illuminate/console[v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev, 10.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 6
- spatie/flare-client-php 1.3.2 requires illuminate/pipeline ^8.0|^9.0 -> found illuminate/pipeline[v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev] but these were not loaded, likely because it conflicts with another require.
- spatie/laravel-ignition 1.6.4 requires spatie/flare-client-php ^1.0.1 -> satisfiable by spatie/flare-client-php[1.3.2].
- spatie/laravel-ignition is locked to version 1.6.4 and an update of this package was not requested.
----
I have tried running composer update and composer install. I still get these issues. How can I resolve this?
Hi,
Please remove the vendor folder. Try removing composer.lock file then try again
Thanks
try removing composer.lock then try again composer require rollbar/rollbar-laravel