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

can't deploy react app in github #62

Open
Tej2407 opened this issue May 31, 2019 · 4 comments
Open

can't deploy react app in github #62

Tej2407 opened this issue May 31, 2019 · 4 comments

Comments

@Tej2407
Copy link

Tej2407 commented May 31, 2019

events.js:177
throw er; // Unhandled 'error' event
^

Error: spawn git ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:84:9)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:84:9) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn git',
path: 'git',
spawnargs: [ 'config', 'user.name' ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] deploy: gh-pages -b master -d build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2019-05-31T06_48_16_615Z-debug.log

@Rexman17
Copy link

Rexman17 commented Aug 5, 2019

having same issue

@SystemDZ
Copy link

SystemDZ commented Sep 5, 2020

Others mentioned here to install Git in order to fix the issue
https://github.com/facebook/create-react-app/issues/8243#issuecomment-569149918

@Rajesh9166
Copy link

having same issue. please confirm how to fix this

@vedantpatel07756
Copy link

me to having the same problem even i installed git

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

5 participants