Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Dev-patel1882 opened this issue Apr 30, 2024 · 3 comments
Labels

Comments

@Dev-patel1882
Copy link

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

@diimpp
Copy link
Member

diimpp commented Apr 30, 2024

Related Sylius/Sylius-Standard#976

@diimpp diimpp added the Bug label Apr 30, 2024
@Prometee
Copy link
Contributor

Prometee commented Apr 30, 2024

@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

@Dev-patel1882
Copy link
Author

Thanks, @Prometee , it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants