作曲家现在在尝试设置IronMQ后抛出错误

时间:2013-08-20 03:39:19

标签: composer-php ironmq

我跑了 composer self-update

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

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

composer update

composer install

但现在无论我做什么,我都会收到此错误

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]

有什么东西被破坏了发生了什么事吗?我试图删除作曲家中的那一行,但错误现在就卡在那里了!

1 个答案:

答案 0 :(得分:0)

呃......不知道刚刚发生了什么。

尝试:

  1. 声明确切版本:(最新版本为iron_mq:1.4.5)
  2. 添加具有iron_core依赖关系的行(尽管不应该使用它):
  3.   

    “iron-io / iron_core”:“0.1.5”

    编辑:

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