Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install #23

Open
Yasir12598 opened this issue Feb 6, 2023 · 5 comments
Open

Unable to install #23

Yasir12598 opened this issue Feb 6, 2023 · 5 comments

Comments

@Yasir12598
Copy link

Yasir12598 commented Feb 6, 2023

I am trying to install by npm install react-native-awesome-pin --save but gives an error.

"react": "18.1.0",
"react-native": "0.70.0",

Below is the error.

PS E:\Projects\HisabKitab-Dcodax-Products\HisabKitab>  npm install react-native-awesome-pin --save
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\Muhammad Yasir\AppData\Local\npm-cache\_logs\2023-02-06T06_01_17_011Z-debug-0.log
@lukebrandonfarrell
Copy link
Owner

I believe this has to do with our peerDependancies in package.json:

"peerDependencies": {
    "react": "16.2.0",
    "react-native": "0.53.0"
  },

If you make a PR to remove this, I can publish the package and add you as a contributor? It should fix this issues :)

@leo-ori
Copy link

leo-ori commented Mar 31, 2023

I have the same error. I'll create the PR to remove "peerDependencies" in package.json

@leo-ori
Copy link

leo-ori commented Mar 31, 2023

I've created the branch I only need rights to push it

@lukebrandonfarrell
Copy link
Owner

@leo-ori Could you create a PR? If you clone the repo and do the work on the cloned repo, you can then open a PR from your closed repo to this repo, and I can review. That way it goes through all our review and testing process, and not directly pushed to main.

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants