【发布时间】:2021-12-03 10:45:39
【问题描述】:
我克隆了 vscode repo 并运行 yarn 来安装 deps。但出现错误:
[1/4] ???? Resolving packages...
[2/4] ???? Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.3.0.tgz: incorrect data check".
info If you think this is a bug, please open a bug report with the information provided in "/Users/lsf/Code/github/js/vscode/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
更新:
操作系统:MacOS Big Sur - 11.5.2(Apple M1 芯片)
节点版本:v14.18.1
纱线版本:1.22.10
【问题讨论】:
-
你试过用
yarn cache clean清除你的缓存 -
是的,我试过
yarn cache clean。但它不起作用。感谢您的即时回复。
标签: visual-studio-code yarnpkg