wal*_*tty 6 visual-studio-code yarnpkg
我克隆了 vscode 存储库并运行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.
Run Code Online (Sandbox Code Playgroud)
更新:
操作系统:MacOS Big Sur - 11.5.2(Apple M1 芯片)
节点版本:v14.18.1
纱线版本:10.22.10
wal*_*tty 10
原因是我安装node v14.18.1的nvm。由于 M1 mac,nvm 为我从源代码构建节点。但输出有问题yarn。
我的做法:删除nvm-version节点并Node-v14.18.1在Node官方下载地址上安装。
现在,一切都很完美。
| 归档时间: |
|
| 查看次数: |
5904 次 |
| 最近记录: |