Composer hanging while updating dependencies

前端 未结 13 1370
青春惊慌失措
青春惊慌失措 2020-12-24 05:30

I tried updating a Laravel project I\'m working on today using composer update

But it hung on Updating dependencies (including require-dev)

13条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-24 06:12

    Some times it is stuck because it is trying to use HTTP instead of https so just run this

    composer config --global repo.packagist composer https://packagist.org
    

提交回复
热议问题