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

Cannot install Sylius from CLI #630

Closed
cibolog opened this issue Dec 3, 2021 · 5 comments
Closed

Cannot install Sylius from CLI #630

cibolog opened this issue Dec 3, 2021 · 5 comments

Comments

@cibolog
Copy link

cibolog commented Dec 3, 2021

The commands provided at README.md fail at php composer.phar create-project sylius/sylius-standard project
Ubuntu 20.04, PHP 7.4

PHP CodeSniffer Config installed_paths set to ../../slevomat/coding-standard
phpstan/extension-installer: Extensions installed
> phpstan/phpstan-doctrine: installed
> phpstan/phpstan-webmozart-assert: installed
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!  In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:
!!                                                                                 
!!    The service "security.authorization_checker" has a dependency on a non-exis  
!!    tent service "security.authentication_manager". Did you mean one of these:   
!!    "security.authorization_checker", "security.authentication_utils", "securit  
!!    y.authentication.manager", "security.authentication.guard_handler"?          
!!                                                                                 
!!  
!!  
Script @auto-scripts was called via post-update-cmd
@merbekta
Copy link

merbekta commented Dec 3, 2021

Did you find a solution for this error? i have the same problem

@Zales0123
Copy link
Member

Hello @cibolog and @merbekta, I think this PR #631 will solve this issue 🖖

@merbekta
Copy link

merbekta commented Dec 6, 2021

Hello @cibolog and @merbekta, I think this PR #631 will solve this issue 🖖

Hey @Zales0123 , thanks. You are my hero :) I used 5.3 instead of symfony 5.4 and my problem was solved

@Zales0123
Copy link
Member

Great :) I had a quick discussion with @lchrusciel and (as you can see on the linked PR), we will try to introduce proper Symfony 5.4 support to Sylius 1.10 as well (not only upcoming 1.11), so this will not be an issue in the nearest future anymore 💃 Cheers 🖖

@merbekta
Copy link

merbekta commented Dec 6, 2021

Great :) I had a quick discussion with @lchrusciel and (as you can see on the linked PR), we will try to introduce proper Symfony 5.4 support to Sylius 1.10 as well (not only upcoming 1.11), so this will not be an issue in the nearest future anymore 💃 Cheers 🖖

thank you for your work :)

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

Successfully merging a pull request may close this issue.

3 participants