Skip to content

sync-recipes not start with composer install #880

@viduc

Description

@viduc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions