Composer hanging while updating dependencies

前端 未结 13 1317
青春惊慌失措
青春惊慌失措 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 05:50

    I found this in another article, I found that doing the following below worked. It seemed to be a cache/download issue into the composer packages cache.

    composer update -vvv

    Then doing the following: Add or edit your composer file to have these settings.

    "repositories": [
        {
             "type": "composer", 
             "url": "https://packagist.org"
        },
        { "packagist": false }
    ]

提交回复
热议问题