I am running Mac OS, I am getting an error when the init script is trying to apply patches. My npm version is 6.13.4, can anyone point me in the right direction?
Done running gclient sync.
Applying patches…
Getting patch data…events.js:288
throw er; // Unhandled ‘error’ event
^
Error: spawn git EAGAIN
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Emitted ‘error’ event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: ‘EAGAIN’,
code: ‘EAGAIN’,
syscall: ‘spawn git’,
path: ‘git’,
spawnargs: [
‘apply’,
‘/Users/danishjalil/brave-browser/src/brave/patches/net-url_request-url_request_http_job.cc.patch’,
‘–numstat’,
‘-z’,
‘–ignore-space-change’,
‘–ignore-whitespace’
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] init: node ./scripts/sync.js --init
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] init script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.