magneto 2在composer安装时出现错误



在安装magento 2.4.4时出现了如下问题

Install of laminas/laminas-dependency-plugin failed
                                                                            
[RuntimeException]                                                                                                                              
Failed to execute git checkout '73cfb63ddca9d6bfedad5e0a038f6d55063975a3' -- && git reset --hard '73cfb63ddca9d6bfedad5e0a038f6d55063975a3' --  
                                                                            
fatal: reference is not a tree: 73cfb63ddca9d6bfedad5e0a038f6d55063975a3                                                                        
               

有谁遇到过这个问题,或者有人提出解决这个问题的建议吗?

Thanks in advance

我遇到了同样的问题。我通过执行"composer require laminas/laminas-dependency-plugin"来继续执行"composer install"命令。它开始安装我的composer.lock中定义的请求版本。所以我不明白问题是什么。

我运行composer update,它解决了我的问题。

相关内容