Not able to install
justinhough opened this issue · comments
Trying to install the package in a new installation of Laravel and running into the following error. I've already tried clearing the composer cache
PHP 7.4.6
$ composer require cammac/nova-workflow
Using version ^2.0 for cammac/nova-workflow
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for symfony/console (installed at v5.1.0) -> satisfiable by symfony/console[v5.1.0].
- Conclusion: don't install winzou/state-machine 0.3.3
- Installation request for symfony/event-dispatcher (installed at v5.1.0) -> satisfiable by symfony/event-dispatcher[v5.1.0].
- cammac/nova-workflow 2.0.0 requires winzou/state-machine ^0.3.3 -> satisfiable by winzou/state-machine[0.3.3].
- cammac/nova-workflow 2.x-dev requires winzou/state-machine ^0.3.3 -> satisfiable by winzou/state-machine[0.3.3].
- Conclusion: don't install winzou/state-machine 0.3.3
- Installation request for cammac/nova-workflow ^2.0 -> satisfiable by cammac/nova-workflow[2.0.0, 2.x-dev].
Installation failed, reverting ./composer.json to its original content.
Is there any way to install this package on the latest version of Laravel (Laravel Framework 7.17.2
)? Or possibly an alternative package for Laravel Nova?
Is there any way to install this package on the latest version of Laravel (
Laravel Framework 7.17.2
)? Or possibly an alternative package for Laravel Nova?
have you managed to find a solution for this, please?
@salamtura I was able to find a partial workaround by manually upgrading "winzou/state-machine": "^0.4.0"
and then changing one line of code in the file src/Workflow.php
. I had to fork the project in order to get the changes made. You can check it out here: https://github.com/justinhough/nova-workflow
@salamtura I was able to find a partial workaround by manually upgrading
"winzou/state-machine": "^0.4.0"
and then changing one line of code in the filesrc/Workflow.php
. I had to fork the project in order to get the changes made. You can check it out here: https://github.com/justinhough/nova-workflow
Thanks @justinhough that worked for me!
your changes has been merged at this PR #10
thank you for your contribution