Skip to content

error Couldn't find the binary git. #121

@pradeepsimba

Description

@pradeepsimba

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions