Composer gets stuck on 'Generating...' at the second question

I’m having issues with Composer. I can use it correctly the first time, but the second time the tool hangs and only shows the message ‘Generating…’. I checked the logs in the console after the first message and I get what is shown in the image. The problem ‘is fixed’ if I restart Composer, it works correctly the first time, but on the second message, it fails again.


Hey, I see a missing file error at the path: /home/jorge/symfony7-api/symfony/src/Repository/ContactListRepository.php. Check if the file exists at the specified path. There might also be cache issues, try clearing it.