0
votes

I am following the React Native getting started. I installed expo-cli globaly, but

expo init AwesomeProject

fails with the following error:

npm WARN deprecated [email protected]: Check out `lodash.merge` or `merge-options` instead.
npm WARN tarball tarball data for react-native@https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz (sha512-/qr69tLChymCyNpTvBiHpepa1ufF43cCMtUzpaQxmCwG6Kz5Z9XqyoEP1lJaJ/BNFj/Bp9+l+LIHwvrDoPBnfQ==) seems to be corrupted. Trying one more time.
3
WARN only gives you a warning and doesn't cause any problems. - hong developer
Thanks, but the init command hangs... I have tried uninstalling expo and re-installing which didn't help - Bar Horing Amir

3 Answers

1
votes

Run:

command adb kill-server

before:

npx expo init AwesomeProject
0
votes

Reinstalling Expo didn't work, but I was able to solve this by using npx. I guess this is what npx is for 🤷

npx expo init AwesomeProject
0
votes

Try opening the terminal with "Run as Administrator".