PluginSkeleton
PluginSkeleton copied to clipboard
Unable to install from scratch. Service depends on non-existent service.
Hi,
Currently having a problem pulling the skeleton, as per the installation instructions.
Run: composer create-project sylius/plugin-skeleton .
Output: https://pastebin.com/fpcmEgfb
Everything appears to install with no errors and such. I then quickly added a .env for database string and created schema and run fixtures.
When I visit the site or run behat tests I get the following:
The service "security.authorization_checker" has a dependency on a non-existent service "security.authentication_manager". Did you mean one of these: "security.authorization_checker", "security.authentication_utils", "security.authentication.manager", "security.authentication.guard_handler"?
Environment:
- PHP 7.4.26 (cli) (built: Nov 30 2021 08:21:51) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.26, Copyright (c), by Zend Technologies
- Composer version 2.1.14 2021-11-30 10:51:43
Is this potentially because i am using PHP7.4 and not the 7.3 specified in the composer.json? (Just a note, 7.3 drops out of support at midnight tonight)
Hello, I "fixed" this issue by downgrading symfony/security-bundle to 5.3.*. Sylius is not 100% compatible with Symfony 5.4