React-native-gifted-chat: ERROR (npm ERR! errno -4058)

Created on 12 Dec 2019  路  6Comments  路  Source: FaridSafi/react-native-gifted-chat

(https://user-images.githubusercontent.com/56359738/70674647-3e81af00-1c4c-11ea-8534-4b7be483f5ad.PNG)

C:\Users\TAHA\Desktop\ @@@>npm i react-native-gifted-chat
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/EvanBacon/react-native-parsed-text.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\TAHA\AppData\Roaming\npm-cache_logs\2019-12-12T01_08_09_608Z-debug.log

wontfix

Most helpful comment

Sorry for hijacking this thread and for the mentions.

I understand the problem and the solution.

However I build my project through CI/CD, and my DevOps guy is really reluctant to add git to that environment to solve this problem. Especially being a project that is forked. His fears are that the repo may be deleted on the future, or open new doors to new poorly maintained projects through dependencies (which yarn pkg repo already ensures).

As a solution, I'm stuck on version 0.9.11 (last one before having EvanBacon version of react-native-parsed-text).

Do any of you have another workaround, solution or insights to this situation?
What were the real reasons that made from switching from the original react-native-parsed-text to the EvanBacon fork?
Will that fork ever be a package available through yarn?

@xcarpentier @EvanBacon

All 6 comments

Hi guys,

I am having trouble installing react-native-gifted-chat, I have tried Yarn and NPM on Windows machine. Seems to be the same as this issue.

Yarn Error:
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
error Couldn't find the binary git
yarnpkg exited with non-zero code: 1
Set EXPO_DEBUG=true in your env to view the stack trace.

NPM Eerror:
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/EvanBacon/react-native-parsed-text.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\ryan.chartres.REPUBLIQUE\AppData\Roaming\npm-cache_logs\2019-12-19T01_14_34_695Z-debug.log

Yup I'm still having the same issue

It's because you need GIT maybe?

Run the command on git. This works for me.

Sorry for hijacking this thread and for the mentions.

I understand the problem and the solution.

However I build my project through CI/CD, and my DevOps guy is really reluctant to add git to that environment to solve this problem. Especially being a project that is forked. His fears are that the repo may be deleted on the future, or open new doors to new poorly maintained projects through dependencies (which yarn pkg repo already ensures).

As a solution, I'm stuck on version 0.9.11 (last one before having EvanBacon version of react-native-parsed-text).

Do any of you have another workaround, solution or insights to this situation?
What were the real reasons that made from switching from the original react-native-parsed-text to the EvanBacon fork?
Will that fork ever be a package available through yarn?

@xcarpentier @EvanBacon

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

radvc picture radvc  路  3Comments

xcxooxl picture xcxooxl  路  3Comments

tafelito picture tafelito  路  3Comments

cassioseffrin picture cassioseffrin  路  3Comments

SytzeAndr picture SytzeAndr  路  3Comments