2013-10-17 48 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.

如果您的安装中删除该目录时@使用不抑制预期的错误,而错误触发不应该摆在首位存在异常。

相关问题