Expo CLI cannot install on windows 10

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! envsub@3.1.0 postinstall: test -d .git && cp gitHookPrePush.sh .git/hooks/pre-push || true
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the envsub@3.1.0 postinstall script.
npm ERR! This is probably not a problem with npm.

Having this same problem since yesterday, I tried lots of solutions found in google but no one worked.

Hi. Try this (until this issue with expo-cli on Windows has been fixed):

npm install -g expo-cli@3.5.0
3 Likes

Installing that expo-cli version worked, Thanks a lot

3 Likes