I need help with the installation


#1

I run the create-react-native-app test-app code in CMD, but the following error is generated:

? Choose a template: expo-template-tabs
[11:50:15] Extracting project files…
[11:50:17] Customizing project…
[11:50:18] Installing dependencies…
npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to ‘ansi-colors’ if you prefer the old syntax. Visit https://github.com/lukeed/kleur/releases/tag/v3.0.0\ for migration path(s).
npm ERR! code ENOGIT
npm ERR! Error while executing:
npm ERR! undefined ls-remote -h -t ssh://git@github.com/expo/react-native-maps.git
npm ERR!
npm ERR! undefined
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Doidera\AppData\Roaming\npm-cache_logs\2019-01-04T13_50_54_295Z-debug.log
[11:50:55] Process exited with non-zero code: 1
[11:50:55] Set EXPO_DEBUG=true in your env to view the stack trace.

Could someone help me please?


#2

It looks like you are missing git on your machine (or it’s not in your $PATH). Try installing it from here: https://git-scm.com/download/win


#3

you are a genius!


closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.