我跑 composer self-update
作曲家現在拋出一個錯誤,試圖安裝後IronMQ
然後我說這在我的composer.json
"iron-io/iron_mq": "*"
的RAN
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]
做了會損壞這是怎麼回事?我試圖刪除作曲家的線,但錯誤現在卡在那裏!
您能否提供示例composer.json?無法重現問題 – thousandsofthem