I am trying to install expo-cli on Windows 10 OS for react native through npm install expo-cli --global command, but it gets stuck at this line.

npm cache and reinstalling node.npm install expo-cli --global in powershell.expo-cli through yarn, but it gets stuck on an error There appears to be trouble with your internet connection. Retrying... ,although I checked and my internet is working fine.I'm not able to figure out how to resolve it.
npm cache verify
npm install expo-cli --global --no-optional
this worked for me. Also, consider using Powershell instead of cmd
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With