Composer php 编写器在尝试设置IronMQ后现在引发错误

Composer php 编写器在尝试设置IronMQ后现在引发错误,composer-php,ironmq,Composer Php,Ironmq,我跑 composer自我更新 然后我在composer.json中添加了这个 "iron-io/iron_mq": "*" 赛跑 composer update 及 但现在不管我做什么,我都会犯这个错误 C:\Project>composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock f

我跑
composer自我更新

然后我在composer.json中添加了这个

"iron-io/iron_mq": "*"
赛跑

composer update

但现在不管我做什么,我都会犯这个错误

C:\Project>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Nothing to install or update
Generating autoload files

Fatal error: Class 'IronCore' not found in C:\Project\vendor\iron-io\iron_mq\IronMQ.class.php on line 118
Script php artisan optimize handling the post-install-cmd event returned with an error



  [RuntimeException]
  Error Output:



install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]

有什么东西坏了吗发生了什么事?我试图删除composer中的行,但错误现在卡在那里

嗯。。。不知道刚才发生了什么

尝试:

  • 声明准确版本:(iron_mq:1.4.5的最新版本)
  • 添加具有iron_core依赖项的行(但在没有它的情况下应该可以工作):
  • “铁io/铁U芯”:“0.1.5”

    编辑:


    请测试最新的iron_mq版本(1.4.6)

    1000个,我无法再运行composer命令。我尝试按照建议添加iron_core,但每次错误都会杀死所有东西,我如何在不使用命令行的情况下清除这些包?它在哪里提取,在哪里列出,以便我可以删除引用?我刚刚删除了我的整个供应商目录,并在没有iron mq的情况下重新运行composer安装,一切都恢复正常,只要我添加iron_mq或iron_core,错误就会再次出现,可能是与windows的兼容性问题?我遇到了完全相同的问题。每次我重新声明版本号时工作(每次发生错误时在1.4.5和1.4.4之间切换)。Github上还有一个(已关闭)问题:在iron_mq 1.4.6版中添加了快速修复程序。现在,如果缺少IronCore类,它不会抛出任何错误。您能提供示例composer.json吗?无法重现该问题
    C:\Project>composer install
    Loading composer repositories with package information
    Installing dependencies (including require-dev) from lock file
    Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
    Nothing to install or update
    Generating autoload files
    
    Fatal error: Class 'IronCore' not found in C:\Project\vendor\iron-io\iron_mq\IronMQ.class.php on line 118
    Script php artisan optimize handling the post-install-cmd event returned with an error
    
    
    
      [RuntimeException]
      Error Output:
    
    
    
    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]