【问题标题】:error in update with composer in ezlatform 5.4ezlatform 5.4 中的作曲家更新错误
【发布时间】:2017-08-17 21:02:04
【问题描述】:

我使用的是 ezplatform 5.4,当我运行 composer update/install 时,它显示了这个错误:

[ErrorException]                                                                                     
 Declaration of 
 eZ\Bundle\EzPublishLegacyBundle\Composer\ScriptHandler::installAssets() 
should be compatible with 
Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
(Composer\Script\Event $event) 

我没有找到任何回应来摆脱这个错误,我希望有一些解决方案。

提前谢谢你。

【问题讨论】:

  • 这是“ezplatform”软件中的一个错误。和他们一起提出来。
  • 是的,听起来像是 ezPlatform 的错误。与此同时,您至少可以使用带有 --no-scripts 选项的 composer 安装依赖项:composer install --no-scripts

标签: php symfony composer-php ezplatform


【解决方案1】:

必须更新根 composer.json 中所需的分发包。在 eZ 平台的 5.4.x update instructions 页面上,您会看到 5.4.2 版本必须升级到 ~3.0。

运行本章中的 composer require 命令可能会修复您的错误,但很难 100% 确定。告诉我。

【讨论】:

    猜你喜欢
    • 2018-10-13
    • 1970-01-01
    • 1970-01-01
    • 2021-08-07
    • 2016-09-30
    • 2015-11-26
    • 2016-03-22
    • 2016-07-22
    • 2015-09-13
    相关资源
    最近更新 更多