error Couldn't find the binary git.
pradeepsimba opened this issue · 0 comments
pradeepsimba commented
After adding "rn-nodeify": "github:tradle/rn-nodeify"
to package.json
under devDependencies
and run npm install
If I run this command npm install
the below error occured.
C:\Users\mahima\Desktop\react-native\newsim>npm install
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
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\mahima\AppData\Local\npm-cache\_logs\2022-08-29T04_51_33_519Z-debug-0.log
How can I solve this error ?