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://firstname.lastname@example.org/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.