请知悉:本文最近一次更新为 2年 前,文中内容可能已经过时。

最近碰到个报错:“Root composer.json requires xxxx found xxxx in lock file but not in remote repositories, make sure you avoid updating this package to keep the one from lock file”。

看着吧,挺麻烦,其实查了下解决方案倒也简单,一句指令即可:

composer config -g repo.packagist composer https://packagist.org

参考资料

Root composer.json requires xxxx found xxxx in lock file but not in remote repositories, make sure you avoid updating this package to keep the one from lock file


如您从本文得到了有价值的信息或帮助,请考虑扫描文末二维码捐赠和鼓励。

尊重他人劳动成果。转载请务必附上原文链接,我将感激不尽。


与《Root composer.json requires xxxx found xxxx in lock file but not in remote repositories》相关的博文:


留言

avatar
😀
😀😁😂😅😭🤭😋😘🤔😰😱🤪💪👍👎🤝🌹👌