2013-08-20 20 views
0

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

做了會損壞這是怎麼回事?我試圖刪除作曲家的線,但錯誤現在卡在那裏!

+0

您能否提供示例composer.json?無法重現問題 – thousandsofthem

回答

0

呃......不知道剛剛發生了什麼。

嘗試:

  1. 聲明確切的版本:(最新的iron_mq:1.4.5)與iron_core依賴
  2. 附加線(應該沒有它的工作,雖然):

「iron-io/iron_core」:「0.1.5」

編輯:

請測試最新的iron_mq版本(1.4.6)

+0

千元,我無法運行任何作曲家命令我嘗試添加iron_core作爲建議,但該錯誤每次都會殺死所有的東西,我怎樣才能清除不使用命令行的包?它在哪裏提取,它在哪裏列出,以便我可以刪除引用? – user391986

+0

我剛剛刪除了我的整個供應商目錄,並重新運行沒有鐵mq的作曲家安裝,一切再次運行,一旦我添加iron_mq或iron_core錯誤再次回到與windows的兼容性問題? – user391986

+0

我有完全相同的問題。每次重新聲明版本號時都有效(每次發生錯誤時在1.4.5和1.4.4之間切換)。在Github上還有一個關閉的問題:https://github.com/laravel/framework/issues/1106 –