Skip to content

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

@AaronSoap

Description

@AaronSoap

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions