Incorrect integrity when fetching from the cache

后端 未结 6 1756
感动是毒
感动是毒 2021-02-01 12:04

When running yarn add --dev jest, I got error Incorrect integrity when fetching from the cache.

Full output:



        
6条回答
  •  南笙
    南笙 (楼主)
    2021-02-01 12:47

    You need to run these two commands before installing the package:

    • yarn config set unsafe-disable-integrity-migration false
    • yarn cache clean

提交回复
热议问题