Incorrect integrity when fetching from the cache

后端 未结 6 1734
感动是毒
感动是毒 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:58

    Tried to upgrade yarn and it solved my problem. It may be due to the compatibility issue

    yarn policies set-version
    

    Will download the latest stable release

    Reference : yarn docs https://yarnpkg.com/lang/en/docs/cli/policies/#toc-policies-set-version

提交回复
热议问题