无法与作曲家异常再次安装Magento 2
晚上好,我在将包装更新到最后一个版本时遇到了一些困难,目前我有: “ 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您只需在
composer.json
中从repo.magento中排除软件包,因此它从packagist下载:compare 过滤软件包 。
我也有作曲家版本2。
You can simply exclude the package in the
composer.json
from repo.magento so it downloads it from packagist :Compare Filtering packages.
I also have Composer version 2.