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]
有什么东西被破坏了发生了什么事吗?我试图删除作曲家中的那一行,但错误现在就卡在那里了!
答案 0 :(得分:0)
尝试:
“iron-io / iron_core”:“0.1.5”
编辑:
请测试最新的iron_mq版本(1.4.6)