无法与作曲家异常再次安装Magento 2

发布于 2025-02-08 08:08:12 字数 989 浏览 3 评论 0原文

晚上好,我在将包装更新到最后一个版本时遇到了一些困难,目前我有: “ Ingenico/M2支付”:“^2.2”, “ Ingenico/ogone-client”:“^5.0”,

我需要更新到M2-PAYMENT的LATES版本,但是在更新部分中应用解决方案(均为ZIP和NON ZIP)时,我会得到以下内容:


[Exception]                                                                                                                                   
  Higher matching version 2.11.0 of ingenico/m2-payment was found in public repository packagist.org                                            
                               than 2.5.2 in private https://repo.magento.com. Public package might've been taken over by a malicious entity,   
                               please investigate and update package requirement to match the version from the private repository

在我们的生产中 :模式我们在存储库中有composer.lock,因此我们只是进行了Composer install-not-no-dev

,但是现在我什至无法安装Magento,如果我删除供应商并执行Composer installs-nostallins-no-dev-不,它再次显示相同的错误。

我可以通过添加-no-Plugins标志来解决此问题,但这不是很好,因为我们的生产量在部署时未包含该命令的产品

Good evening, I am having some trouble updating a package to the last version, currently I have :
"ingenico/m2-payment": "^2.2",
"ingenico/ogone-client": "^5.0",

I need to update to lates version of m2-payment, but when applying the solution in the update section (both with zip and non zip) I get the following :


[Exception]                                                                                                                                   
  Higher matching version 2.11.0 of ingenico/m2-payment was found in public repository packagist.org                                            
                               than 2.5.2 in private https://repo.magento.com. Public package might've been taken over by a malicious entity,   
                               please investigate and update package requirement to match the version from the private repository

In our producction mode we have the composer.lock in our repository so we just do composer install --no-dev

But now I cant even install magento if I delete vendor and execute the composer install --no-dev, it shows the same error again.

I can solve this by adding the --no-plugins flag but it is not good because our producctions those not included that command when deploying

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情丝乱 2025-02-15 08:08:12

您只需在composer.json中从repo.magento中排除软件包,因此它从packagist下载:

"magento": {
            "type": "composer",
            "url": "https://repo.magento.com",
            "exclude": ["ingenico/m2-payment"]
        },

compare 过滤软件包

我也有作曲家版本2。

You can simply exclude the package in the composer.json from repo.magento so it downloads it from packagist :

"magento": {
            "type": "composer",
            "url": "https://repo.magento.com",
            "exclude": ["ingenico/m2-payment"]
        },

Compare Filtering packages.

I also have Composer version 2.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文