[英]Composer.phar cannot install dependencies
I have been trying to install all dependencies using phar but it always give me an error我一直在尝试使用 phar 安装所有依赖项,但它总是给我一个错误
[ErrorException]
rtrim() expects parameter 1 to be string, array given
I have been struggling with this for a while and would appreciate any help.我已经为此苦苦挣扎了一段时间,希望得到任何帮助。
My Php version (From phpinfo()) is Php Version 5.3.6-13ubuntu3.6我的 Php 版本(来自 phpinfo())是 Php Version 5.3.6-13ubuntu3.6
additional info for error: pastebin.com/V2w6Cg69错误的附加信息:pastebin.com/V2w6Cg69
with --verbose: http://www.pastebin.com/qL0RHA2a与 --verbose: http://www.pastebin.com/qL0RHA2a
As far as I remember this occured when I introduced the Config class and was fixed shortly after.据我所知,这是在我引入 Config class 时发生的,并在不久之后得到修复。 Updating to the latest composer version should fix it.
更新到最新的作曲家版本应该可以解决它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.