1

I'm installing a code base which is created by others, then i remove the old when i run "composer install" and encounter show many this kind of error message.

enter image description here

Anyone know what is the problem?

2 Answers 2

4

Try to execute

composer install -vvv

this will give you more information. In our case the issue was "patch command not found", so we installed the patch and it works for us.

2
  • Any documentation for this -vvv param? Commented Jun 4, 2021 at 0:05
  • 1
    @NickRolando -v means verbose output for many Linux applications. -vvv just means triple verbose which outputs the most amount of information.
    – Zankar
    Commented Feb 14, 2022 at 12:16
4

Some of the time problem maybe OS does not have patch module install. So try this :

sudo yum install patch

can solve this problem sometime.

2
  • Thanks, this issue comes from the fact that some Linux distros do not come with preinstalled patch.
    – vladPavlov
    Commented Aug 10, 2021 at 16:50
  • This could be a valid reason especially if you are using Linux flavors like Amazon Linux which does not ship with patch pre-installed.
    – Nafsin Vk
    Commented Dec 14, 2023 at 8:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.