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

sync-recipes not start with composer install #880

Closed
viduc opened this issue Mar 3, 2022 · 5 comments · Fixed by #907
Closed

sync-recipes not start with composer install #880

viduc opened this issue Mar 3, 2022 · 5 comments · Fixed by #907

Comments

@viduc
Copy link

viduc commented Mar 3, 2022

Hi,

I have a project in symfony 5.2.
for a few days when i try to reinstall it by composer install (my composer.json is in my git project) i have an error:

Script cache:clear returned with error code 1 !! Could not open input file: ./bin/console
So i try to create a new projetc with symfony new --full. Its ok but if i try to copy composer.json in another empty folder and i start composer install i have the same problem.

I find how to start the recipe with composer sync-recipes -v --force and restart composer install or update after but its not fine... ANd in my project if i do this method, if have a multiple bug in my code (variable not initialize, not present, route not find etc...).

I suppose its flex that have problem but i dont find something on... symfony flex is in 1.18.5

I open an issue on symfony github here

I made a reproducer here

Can you help me?

Thanks

@mareckigit
Copy link

I have the same problem. Symfony 4.4.39 and Flex 2.1.6. When I run composer recipes -vvv, I see loop in downloading doctrine annotation package. I have downgraded flex version to 2.1.4 and now it works.

@viduc
Copy link
Author

viduc commented Mar 10, 2022

Thanks for your test. I cant use 2.1.4 cause i'm on php 7 but i try to downgrade version 1, the error come with 1.18.5 (and so with 2.1.5 and more ?)

Thanks for your help

@mareckigit
Copy link

I can confirm the error on 2.1.5 version. I didn't test more versions. Today we have another problem with recipes. The official end point https://symfony.sh has broken CERT.

@viduc
Copy link
Author

viduc commented Mar 10, 2022

ok, no problem I fixed my problem by locking the version.
Do you want me to close this issue or keep it open?

@tarasb81
Copy link

Same problem with loop doctrine/annotation recipies on Symfony 4.4.37. PHP 7.4.8. Problem start after recipies version 1.10 was created.
I try to install older doctrine/annotation and symfony/fles versions, but problen still exist.

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