Composer Content-Length Mismatch

前端 未结 11 1582
暗喜
暗喜 2020-11-28 06:03

Sometimes when I run composer update to upgrade the laravel project, a content-length mismatch exception might occur. Finally, I get this is because of the terrible firewall

11条回答
  •  被撕碎了的回忆
    2020-11-28 07:02

    I had the same problem while installing laravel on my Windows machine, I was using git bash for running following command.

    composer global require "laravel/installer=~1.1"

    I switched to the normal command prompt then it worked without any errors.

提交回复
热议问题