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

清除缓存即可

posted on 2019-10-05 19:33  2481  阅读(4832)  评论(0编辑  收藏  举报

导航