BitBagCommerce / SyliusVueStorefront2Plugin

SyliusVueStorefront2Plugin provides everything you need to integrate your Sylius back-end with Vue Storefront 2.
MIT License
24 stars 16 forks source link

Error during installation #40

Closed cdeclerck closed 1 year ago

cdeclerck commented 2 years ago

Hello,

I try to install this plugin. However when I want to start my sylius I have an error when I run the "cache:clear" command: Script cache:clear returned with error code 1 !! !! In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86: !! !! The service "Sylius\Bundle\ApiBundle\CommandHandler\Checkout\ChoosePaymentM !! ethodHandler" has a dependency on a non-existent service "Sylius\Bundle\Api !! Bundle\Changer\PaymentMethodChanger". Did you mean this: "Sylius\Bundle\Api !! Bundle\Changer\PaymentMethodChangerInterface"? !! !! !!

do you have an idea ? problem with sylius ? with the integration of the plugin ?

niic0 commented 2 years ago

Hello, same problem here... I'm stuck on this problem since days, did you find any solution ?

perfectglitch commented 2 years ago

image In https://github.com/BitBagCommerce/SyliusGraphQLPlugin/blob/main/src/Resources/services/command_handlers.xml#L60 the PaymentMethodChangerInterface should be referenced instead. Seems like this plugin needs some refreshing to keep up with Sylius.

perfectglitch commented 2 years ago

Also service references 'sylius.api.context.user' seems to be renamed to 'Sylius\Bundle\ApiBundle\Context\UserContextInterface' since Sylius 1.11. The upgrade notes are present in the Sylius composer package though I can't find then in Sylius repo or official site.

PiotrSzymanski2000 commented 1 year ago

Corrections have been made