I am running expo-cli
on Windows to create a brand new React Native project but it is failing because of a missing dependency. The commands I entered are below.
npm install -g expo-cli
expo init my-app
The error I receive is below.
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/expo/vector-icons.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
I am not sure if there is a bug in expo init
or if something is messed up in my environment. I just got started and tried following the Getting Started directions, so it seems odd that my environment would already be messed up.
Environment information below.
Windows 10
Node 10.15.0
NPM 6.6.0
expo-cli 2.6.14