纱线安装在github动作上失败
我们有一个基于纱线的MonorePo,其中包含最新的纱线版本3.2.0。我们正在获得纱线安装
在我们的github工作流程上具有零调试日志的故障:
Run yarn install
➤ YN0000: ┌ Resolution step
Resolution step
➤ YN0000: └ Completed in 1s
➤ YN0000: ┌ Post-resolution validation
Post-resolution validation
➤ YN0000: └ Completed in 0s 226ms
➤ YN0000: Failed with errors in 1s 236ms
当我们的大多数团队生成 yarn.lock
文件时,这种情况就会发生,除了一个团队成员能够生成在工作流中工作的工作 Yarn.lock
。奇怪的部分是他正在运行与大多数其他开发人员(MBP,节点16)非常相似的设置。
知道什么会导致这一点,以及我们如何找到更多信息?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
默认情况下,YARN将在
YARN INSTALS
上抛出异常软件包与存储在LockFile中的校验和不匹配。修复:.yarnrc.yml
。By default, Yarn will throw an exception on
yarn install
if it detects that a package doesn't match the checksum stored within the lockfile. To fix:.yarnrc.yml
.要解决此问题,请将纱线升级到版本
3.2.4
或更高版本。背景:
有导致校验和检查失败 - 升级将解决此问题。
To resolve this issue, upgrade Yarn to version
3.2.4
or later.Background:
There were a couple of issues in older versions of Yarn 3 that caused the checksum check to fail — upgrading will resolve this issue.