laravel-temporal icon indicating copy to clipboard operation
laravel-temporal copied to clipboard

Installation error - doctrine/dbal 3.4.5

Open mahfoudfx opened this issue 3 years ago • 2 comments

Hello, I'm unable to install on Laravel 9.34.0 / PHP 8.1.10, due to doctrine/dbal 3.4.5 package version (it is required 2.5.0).

composer require gazugafan/laravel-temporal:5.0.1 I get the following error message:

Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires gazugafan/laravel-temporal 5.0.1 -> satisfiable by gazugafan/laravel-temporal[v5.0.1]. - gazugafan/laravel-temporal v5.0.1 requires doctrine/dbal ^2.5 -> found doctrine/dbal[v2.5.0-BETA2, ..., 2.13.9] but the package is fixed to 3.4.5 (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. 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.

mahfoudfx avatar Oct 08 '22 11:10 mahfoudfx

You could try just bumping the dbal version in this package's composer.json to ^3.4.5. I've no idea if there are actual backwards incompatible changes there that would matter, though.

gazugafan avatar Oct 09 '22 19:10 gazugafan

I'm not sure if you need dbal at all. All your functions should be covered by Laravel 9.x anyway. I have the same issue.

Enrica-r avatar Feb 05 '23 16:02 Enrica-r