PluginSkeleton icon indicating copy to clipboard operation
PluginSkeleton copied to clipboard

The service "sylius.fixture.order" has a dependency on a non-existent service "sylius_abstraction.state_machine"

Open Dev-patel1882 opened this issue 1 year ago • 3 comments

The service "sylius.fixture.order" has a dependency on a non-existent service "sylius_abstraction.state_machine".

When I'm setting up the Sylius plugin skeleton, I'm facing this error. I've created plugin skeletons before, but this error didn't appear earlier. I think it might be a bug.

The error "The service 'sylius.fixture.order' has a dependency on a non-existent service 'sylius_abstraction.state_machine'" is preventing me from running any PHP commands.

Screenshot from 2024-04-30 12-08-25

Dev-patel1882 avatar Apr 30 '24 06:04 Dev-patel1882

Related https://github.com/Sylius/Sylius-Standard/issues/976

diimpp avatar Apr 30 '24 11:04 diimpp

@Dev-patel1882, you can simply add the missing bundle to the file tests/Application/config/bundles.php : https://github.com/Sylius/PluginSkeleton/blob/1.12/tests/Application/config/bundles.php The missing bundle is this one : https://github.com/Sylius/Sylius-Standard/blob/1.13/config/bundles.php#L9

Prometee avatar Apr 30 '24 12:04 Prometee

Thanks, @Prometee , it works.

Dev-patel1882 avatar Apr 30 '24 12:04 Dev-patel1882