0

我目前正在尝试设置 satis 以使用 composer 管理我们的内部包。

我已经创建了我的 config.json 文件

{
"name": "Internal Packages",
"homepage": "http://packages.example.org",
"repositories": [
    { "type": "vcs", "url": "ssh://me@mypackages.com/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.

我已删除该缓存文件夹并尝试再次构建,但得到相同的错误。在我的 web 目录中也没有创建任何内容。

关于如何解决这个问题以便成功构建的任何想法?

4

1 回答 1

1

禁用xdebug.scream命令行 PHP 版本的选项。

该选项的解释:

xdebug.scream
类型:布尔值,默认值:0,在 Xdebug >= 2.1 中引入
如果此设置为 1,则 Xdebug 将禁用 @(关闭)运算符,以便不再隐藏通知、警告和错误。

If the usage of @ does not suppress the expected error when removing that directory in your installation, and that error triggers an exception that shouldn't exist in the first place.

于 2013-10-17T19:12:53.327 回答