Error during webapp Symfony 7 project creation: Enabling bundle "Symfony\Bundle\SecurityBundle\SecurityBundle" and not configuring it is not allowed. #54615
Unanswered
dwcs-code-2223
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm trying to create a new Symfony 7 project with recommended methods with both composer and Symfony CLI.
But I'm getting this error:
Failed to download recipe: The "https://raw.githubusercontent.com/symfony/recipes/flex/main/symfony.webapp-pack.1.0.json" file could not be downloaded (HTTP/2 404 )
Run composer recipes at any time to see the status of your Symfony recipes.
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! In SecurityExtension.php line 94:
!!
!! Enabling bundle "Symfony\Bundle\SecurityBundle\SecurityBundle" and not configuring it is not allowed.
!!
!!
!!
Script @auto-scripts was called via post-update-cmd
and I can't continue with the process.
Besides, a lot of messages related to having failed to be downloaded are displayed such as:
Failed to download symfony/webapp-pack from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
Any help will be appreciated.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions