Error when I try to run "npm install" in my project folder

When I run “npm install” in my React project folder I’ve got this message

"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/react-native-maps.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.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\igora\AppData\Roaming\npm-cache_logs\2019-03-24T18_10_21_788Z-debug.log"

I’ve already update my npm

1 Like

Hey @igoragueme,

You need to make sure you have git installed and properly in your PATH. https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

Cheers,
Adam

1 Like

Muuuuuch tkanksss, my git was not configured at Path variable… Making the right set up everthing went right :slight_smile:

Glad to hear it! You’re welcome.

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