Satis 构建抛出错误 - 缓存目录不为空


Satis Build Throws An Error - Cache Directory Not Empty

我目前正在尝试设置satis以使用作曲家管理我们的内部软件包。

我已经创建了我的配置.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.

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

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

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

该选项的说明:

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

如果在安装中删除该目录时,@ 的使用未禁止显示预期错误,并且该错误会触发本来就不应该存在的异常。