尝试自我更新作曲家时出错 [英] Error when trying to self-update composer
本文介绍了尝试自我更新作曲家时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试自我更新作曲家时,收到权限被拒绝"错误消息,但是当我尝试使用"sudo"执行相同命令时-我收到错误消息找不到命令".请帮助我.
when I trying to self-update composer I get "Permission denied" error message, but when I try to do same command with "sudo" - I get error message "command not found". Please help me..
推荐答案
在使用sudo的终端中,我键入composer.phar的完整路径,这对我有用!
In terminal with sudo I type full path to composer.phar and it's work for me!
sudo/usr/bin/composer.phar自我更新
sudo /usr/bin/composer.phar self-update
这篇关于尝试自我更新作曲家时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文