作曲家未更新Drupal模块

问题描述 投票:0回答:1

我正在尝试使用Composer更新某些Drupal模块。

当我运行composer outdated "drupal\*"以查看可用的更新时,它显示需要更新的模块的列表。

enter image description here

但是当我运行composer update <module-name> --with-dependencies时,会给我一个内存分配错误。

enter image description here

如果我使用sudo运行它(不知道,我知道。但是尝试一切。),它什么都不做。没有错误报告。没事。

enter image description here

我已经尝试过composer clearcache,但没有任何帮助。我究竟做错了什么?为什么会这样?

composer-php drupal-8 drupal-modules
1个回答
0
投票

您可以尝试COMPOSER_MEMORY_LIMIT=-1 <module-name> --with-dependencies,这使作曲家可以使用所需的内存。

© www.soinside.com 2019 - 2024. All rights reserved.