2013-10-17 47 views
0

我目前正在嘗試設置滿意以使用作曲家來管理我們的內部包。Satis構建拋出一個錯誤 - 緩存目錄不爲空

我創建了我config.json文件

{ 
"name": "Internal Packages", 
"homepage": "http://packages.example.org", 
"repositories": [ 
    { "type": "vcs", "url": "ssh://[email protected]/Test-Component" } 
], 
"require-all": true 
} 

當我嘗試並構建它

php bin/satis build config.json web/ 

我得到以下錯誤:

[ErrorException]              
rmdir(/home/lee.stone/.composer/cache): Directory not empty   

Warning: You have xdebug.scream enabled, the warning above may be 
a legitimately suppressed error that you were not supposed to see. 

我已刪除該緩存文件夾並嘗試重新構建,但得到相同的錯誤。我的網站目錄中也沒有創建任何內容。

關於如何解決這個問題的任何想法,所以它會成功構建?

回答

1

禁用命令行PHP版本的xdebug.scream選項。

該選項的說明:

xdebug.scream
Type: boolean, Default value: 0, Introduced in Xdebug >= 2.1
If this setting is 1, then Xdebug will disable the @ (shut-up) operator so that notices, warnings and errors are no longer hidden.

如果您的安裝中刪除該目錄時@使用不抑制預期的錯誤,而錯誤觸發不應該擺在首位存在異常。

相關問題