手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆
浏览模式: 标准 | 列表2020年02月23日的文章

yarn:error Incorrect integrity when fetching from the cache

yarn add laravel-echo-server

yarn add v1.19.0
[1/4] ?  Resolving packages...
[2/4] ?  Fetching packages...
error Incorrect integrity when fetching from the cache
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
 
解决方法:
1、yarn config set unsafe-disable-integrity-migration false
2、yarn cache clean
3、yarn install -f 或者 直接 yarn add ..
 
问题解决。