Composer install/update not working(作曲家安装/更新不起作用)
问题描述
我遇到了 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:
这里
有谁知道可能出了什么问题?我试图清除缓存,它没有帮助.我确信这个 repo 运行良好,因为我把它拉到我的 Windows 机器上,它下载的一切都很好.作曲家诊断"也返回 OK.感谢您的任何提示.
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.
这篇关于作曲家安装/更新不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:作曲家安装/更新不起作用
基础教程推荐
- 如何替换eregi() 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
