PS E:\code\2023\flt\flt-ui-1213> yarn
yarn install v1.22.19
[1/6] Validating package.json...
[2/6] Resolving packages...
[3/6] Fetching packages...
error https://registry.npmmirror.com/gifsicle/-/gifsicle-5.3.0.tgz: Integrity check failed for "gifsicle" (computed integrity doesn't match our records, got "sha512-FJTpgdj1Ow/FITB7SVza5HlzXa+/lqEY0tHQazAJbuAdvyJtkH4wIdsR2K414oaTwRXHFLLF+tYbipj+OpYg+Q== sha1-SZcTxvHonrvDYw2jp0/bRpeRO04=")
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
解决方案1:可能是域名过期 重新设置下域名
yarn config set registry https://registry.npmmirror.com
解决方案 2:删除本地文件yarn.lock 删掉重新编译安装就行