早睡早起,方能养生
Sleep early rise early, way to keep healthy

git was not found, check that it is installed and in your PATH env.

super
2023-09-22 14:44
views 845

[root@iZ8vb09sdqweqwej2plqZ rongsp.com]# composer require workerman/phpsocket.io
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes

                                                                                                                                    
 [RuntimeException]                                                                                                                 
 Failed to clone https://gitee.com/fastadminnet/framework.git, git was not found, check that it is installed and in your PATH env.  
                                                                                                                                    
 sh: git: command not found                                                                                                         
                                                                                                                                   

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...

 

 

没有安装git

 

 yum install git

 

安装后,重新运行命令



分享
0 条讨论
top