【发布时间】:2021-03-06 07:31:26
【问题描述】:
我正在为我的网站使用 Neos CMS。现在我正在尝试通过composer update 更新 CMS。在我的项目中,我安装了一个现在被废弃的包。这导致更新失败,因为包内的composer.json 不需要更新版本的 CMS。基本上我只需要一种在作曲家更新时完全忽略该包的方法。 --no-dev 没用。结果是:Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems. 如果有人有想法,那就太好了。
【问题讨论】:
-
请分享更多细节。如果您需要的任何软件包与任何其他软件包不兼容,那么显然无法更新该其他软件包
-
这能回答你的问题吗? Exclude a package from updating in composer
标签: composer-php neoscms