我正在运行Drupal VM并尝试更新Drupal Core。我刚刚运行的composer update drupal/core
似乎运行良好,我的整个核心文件夹已删除,并由作曲家创建一个新的缓存文件。但是,作曲家以某种方式无法删除缓存文件并停止?
我在Windows 10上以管理员的身份运行控制台。从Drupal VM(Vagrant SSH)中进行作曲家更新
我以前更新了Drupal Core,没有问题。不知道怎么了?
vagrant@drupalvm:/var/www/drupalvm/eura/webroot$ composer update drupal/core
1/4: http://packagist.org/p/provider-latest$bd26fae873ac4aadd03c03c5d1737acf6a0c347b376fe4f6aac30df09c2dbc83.json
2/4: http://packagist.org/p/provider-2017-01$023baddfc70d3f47f448977fe79fa793625d88bb7b862f6ea36f02c9a31eda1c.json
3/4: http://packagist.org/p/provider-2017-04$3b999da86ab9b70dd889a3c4c4d7baecb55506bfeba762f376b385c42f776d5d.json
4/4: http://packagist.org/p/provider-2017-07$5cf29e45d29a0f45b6c9fdc8b447c48f6d4f4312273ab60a07ab838dbf9bcf5b.json
Finished: success: 4, skipped: 0, failure: 0, total: 4
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Updating drupal/core (8.3.6 => 8.3.7): Loading from cache Update failed (Could not delete core/5effb5112dfc3bc54201da4e351268c0: )
Would you like to try reinstalling the package instead [yes]? y
- Removing drupal/core (8.3.6)
[RuntimeException]
Could not delete core/5effb5112dfc3bc54201da4e351268c0:
似乎我在phpstorm中打开了该项目。
或它以其他方式修复了自己;)