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

Unable to install from scratch. Service depends on non-existent service. #299

Open
AaronSoap opened this issue Dec 5, 2021 · 1 comment

Comments

@AaronSoap
Copy link

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:

  1. 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
  2. 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)

@450Oucema
Copy link

Hello, I "fixed" this issue by downgrading symfony/security-bundle to 5.3.*. Sylius is not 100% compatible with Symfony 5.4

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

No branches or pull requests

2 participants