D
D
darktowerk56c2019-12-01 08:19:20
React Native
darktowerk56c, 2019-12-01 08:19:20

How to install expo-cli on Windows 7?

npm install expo-cli --global
Hello, when I try to install expo-cli, I get the following error:

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 ]

Tried on Node.js version 12.13.1
on Node.js 11.0.0
and Node.js 10.15.3
I also tried clearing the cache:
npm cache clean --force
expo --version
Cannot find module 'C:\Users\User \AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js'

If installed with yarn
yarn global add expo-cli
expo --version
Error: Cannot find module 'C:\Users\User\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js'

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question