以上问题都可以通过下面方式解决原因 缓存导致:
1 、yarn cache clean
2 、rm yarn.lock
3 、rm -rf node_modules/
4 、yarn
还不行的话:
重置本机git设置 git config --global credential.helper store