Composer hanging while updating dependencies

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

    So it turns out the problem was with php's xdebug extension. After disabling it in my php.ini, composer ran without any problems.

    And just to note, the hang-up wasn't actually occurring while reading files from the cache. It was the step right after where composer was trying to resolve dependencies. It just never finished that step and never printed the output. That's why no matter what I did, it always appeared to be stuck reading a file from the cache.

提交回复
热议问题