关于前端:yarn-computed-integrity-doesnt-match-our-records

yarn 安装包时呈现 yarn computed integrity doesn’t match our records 谬误

error https://registry.npm.taobao.org/qs/download/qs-6.9.4.tgz: Integrity check failed for "qs" (computed integrity doesn't match our records, got "sha
512-+wYo+L6ZF6BMoEjtf8zB2esQsqdV6WsjRK/GP9WOgLPrq87PbNWgIxS76dS5uvl/QXtHGakZmwTznIfcPXcKlQ== sha1-pZ6FHBuhbAUT6hI4MN1jmgoVy2o=")

解决办法:

yarn cache clean
yarn --update-checksums
yarn

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理