error https://github.com/expo/react-native/archive/sdk-20.0.0.tar.gz: Fetch succeeded for undefined. However, extracting “https://github.com/expo/react-native/archive/sdk-20.0.0.tar.gz” resulted in hash “bde7e70913e017f79afe188970adbed8c00b3858”, which did not match the requested hash “804b58150426c68e4da266490d43ec639d95953d”.
I had the same problem after starting a new repo in a new computer. Following the very own @peterpme tips at slack solved the issue.
- rm -rf node_modules
- watchman watch-del-all
- rm -rf $TMPDIR/react-*
- upgrade yarn
- rm -rf yarn.lock
- exp start -c
Didn’t work for me.
Having this issue on my CI
Could likely be a network fetch error. Try doing this again and seeing if the problem persists.
yarn upgrade worked for me (I also removed node_modules prior)