Composer安装/更新不起作用 [英] Composer install/update not working

查看:580
本文介绍了Composer安装/更新不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Composer软件包管理器有问题.系统是Ubuntu 12.04.我就是无法正常工作.我拉了我的git项目,并尝试运行"composer install",但似乎没有任何反应.我刚得到一个信息

I have a problem with Composer Package Manager. System is Ubuntu 12.04. I just can't make it work. I pulled my git project and try to run 'composer install', but it seems that nothing actually happens. I just get an information

Installing dependencies (including require-dev)

然后什么也没有发生.这是我使用-vvv参数运行的命令的日志:

then nothing actually happens. This is my log from this command run with -vvv parameter:

此处

有人知道什么是错的吗?我试图清除缓存,但没有帮助.我确信此存储库可以很好地工作,因为我将其拉到Windows计算机上,并且下载了所有文件. 作曲家诊断"也返回确定. 感谢您的提示.

Does anyone have any idea what can be wrong ? I tried to clear cache, it did not help. I am sure this repo works well as I pulled it to my Windows machine and it downloaded everything just fine. 'composer diagnose' also returned OK. Thanks for any tips.

推荐答案

首先,您应该尝试清除作曲家缓存.

In first place You should try clearing composer cache.

rm -rf ~/.composer/cache

但更可能是与可用内存有关的问题.增加memory_limit应该会有所帮助.

But more probably it's issue connected with available memory. Increasing memory_limit should help.

这篇关于Composer安装/更新不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆