希望有人能幫我解決這個問題。運行作曲家安裝後bin/console丟失
運行作曲家安裝時,我的項目(在github https://github.com/irvingswiftj/iceMarkt),似乎運行順利,直到運行後更新命令。在我結束了以下錯誤(添加PARAM -vvv時):
Updating the "app/config/parameters.yml" file
Could not open input file: bin/console
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command.
如果我現在瀏覽我的項目目錄,我可以看到斌/永遠不會創建控制檯!
你在使用Symfony3結構嗎?在這個新的結構中,'app/console'被移動到'bin/console'。所以看看你是否有'app/console' ... AFAIK,有一個選項可以告訴作曲者你正在使用哪種結構 – Talus 2014-08-27 15:12:34
是的,我正在使用symfony3結構。我沒有檢查應用程序/控制檯,但也不存在。 – swifty 2014-08-27 15:17:05
我懷疑你從來沒有在bin目錄中檢查過github?您最好的選擇可能是使用s3結構創建一個新項目,然後比較文件系統。您可能會丟失超過bin目錄。我沒有在github中看到一個web目錄。 – Cerad 2014-08-27 18:59:33