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

There are no commands defined in the "recipes" namespace. #1325

Open
stephen-swsm opened this issue Jul 3, 2024 · 2 comments
Open

There are no commands defined in the "recipes" namespace. #1325

stephen-swsm opened this issue Jul 3, 2024 · 2 comments

Comments

@stephen-swsm
Copy link

stephen-swsm commented Jul 3, 2024

Hi,

Having just upgraded a project from Symfony 4.4 to 6.4 I found an issue when running the CI pipeline where it was not loading the environment vars from .env.test.

Turns out the bin/console command had not been updated during the upgrade process and the fix was to copy the contents from another Symfony 6.4 project and then require symfony/runtime as instructed.

However, it seems the correct way to do this would have been to run recipes:update however it seems this is missing?

Has this been discontinued? As I it is also missing from a project which started off as a Symfony 6.4 project?

Cheers, S.

Ref: https://symfony.com/blog/fast-smart-flex-recipe-upgrades-with-recipes-update

@stof
Copy link
Member

stof commented Aug 14, 2024

the recipes:update is a command of Flex, so running it looks like composer recipes:update. It is not a command available through bin/console (and it has never been)

@OskarStark
Copy link
Contributor

Did you require Symfony/flex package?

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

3 participants