0

我跑了 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]

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

4

1 回答 1

0

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

尝试:

  1. 声明确切版本:(iron_mq 的最新版本:1.4.5)
  2. 添加具有 iron_core 依赖项的行(但应该可以在没有它的情况下工作):

“iron-io/iron_core”:“0.1.5”

编辑:

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

于 2013-08-20T06:58:54.607 回答