本文介绍了无法自我更新作曲家?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在努力地更新作曲家!
I am trying to update composer with no luck!
我尝试过的事情:
$ composer self-update
$ sudo -H composer self-update
$ sudo apt-get install composer
我正在尝试自我更新作曲家,因为每次尝试时都面临以下问题:
I am trying to self-update composer because I am facing the following each time I try:
$ composer update
关于如何解决此问题的任何想法?
Any Ideas on how to fix this issue?
我的php版本是:
php --version
我的作曲家版本是:
composer --version
推荐答案
根据@JimL注释,我能够通过以下方式自我更新作曲家:
As per @JimL comment I was able to self update composer by:
- 从程序包管理器(apt)卸载Composer.
- 我根据官方文档进行了安装
- Uninstalling Composer from the package manager (apt).
- I installed it according to the official documentation
现在它可以正常工作了.
Now it works as expected.
这篇关于无法自我更新作曲家?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!