npm install expo-cli --global
I got this following error:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `test -d .git && cp gitHookPrePush.sh .git/hooks/pre-push || true`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache\_logs\2019-12-01T12_11_45_118Z-debug.log
node and npm versions:
node --version
v12.13.1
npm --version
6.12.1
I am trying to install expo-cli on windows 10, according it's official site:
npm install expo-cli --global I got this following error:
43056 verbose Windows_NT 10.0.18362
43057 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "expo-cli" "--global"
43058 verbose node v12.13.1
43059 verbose npm v6.12.1
43060 error code ELIFECYCLE
43061 error errno 1
43062 error [email protected] postinstall: test -d .git && cp gitHookPrePush.sh .git/hooks/pre-push || true
43062 error Exit status 1
43063 error Failed at the [email protected] postinstall script.
43063 error This is probably not a problem with npm. There is likely additional logging output above.
43064 verbose exit [ 1, true ]
I am using python version:
python --version Python 3.8.0 and node and npm versions:
node --version v12.13.1
npm --version 6.12.1 ** What is your suggestion?
**
just try installing npm install expo-cli --global
this command on git bash. It worked for me.
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