首页 > 其他 > 详细

yarn 创建react项目时出现错误

时间:2019-10-05 19:53:58      阅读:1043      评论:0      收藏:0      [点我收藏+]

出现一下错误

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

清除缓存即可

yarn 创建react项目时出现错误

原文:https://www.cnblogs.com/daixixi/p/11625509.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!