yarn 创建react项目时出现错误

出现一下错误

error Incorrect integrity when fetching from the cache
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. 

或者

error Incorrect integrity when fetching from the cache
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation.
  yarnpkg add --exact react react-dom react-scripts --cwd C:\Users\DSJPC\Desktop\projectMusic\music has failed.
 

使用

yarn cache clean

清除缓存即可