gpt4 book ai didi

每当运行操作时,Azure Artifact feed 都会导致 'incorrect integrity when fetching from the cache'

转载 作者:行者123 更新时间:2023-12-01 09:48:57 24 4
gpt4 key购买 nike

作为一种旁路,我目前每次都运行yarn cache clean,但这需要时间并且在每次操作之前都必须执行此操作有点乏味。

我使用 .npmrc 文件指向 azure devops 工件源,该源将 npm 本身作为上游。

在以相同方式配置的多个项目中每次都会发生这种情况。

编辑:没关系,这似乎是最新版本的 YARN 的问题

最佳答案

Azure Artifact feed causing 'incorrect integrity when fetching from the cache' whenever an operation is run

确实,这是最新版本的 YARN (1.19.0) 的问题。

此问题的解决方法正是您现在使用的:

yarn cache clean
yarn add --dev jest

查看文档yarn cache :

enter image description here

如果您不想在每次操作前清理缓存,可以尝试降级服务器上的yarn版本:

yarn policies set-version 1.18

问题跟踪票:

Incorrect integrity when fetching from the cache

希望这有帮助。

关于每当运行操作时,Azure Artifact feed 都会导致 'incorrect integrity when fetching from the cache',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58220955/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com