Closed kaaya-27 closed 1 week ago
duplicate of https://github.com/nodejs/node/issues/53538
@marco-ippolito I don't think this is a duplicate of that issue, this just means Git wasn't found on the user's machine which isn't similar to that issue.
The error means that one of your dependencies require Git but it isn't installed on your system, you can install Git from here.
And since this issue doesn't have anything to do with Node.js itself I'll move this to the help repository.
Version
v20.15.0
Platform
Windows 11
Subsystem
esbuild
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
after installing nodejs i cannot create npm or download dependencies from npm it does not allow me to create new react app.
What is the expected behavior? Why is that the expected behavior?
What do you see instead?
npm error code ENOENT npm error syscall spawn C:\Program Files\Git\cmd npm error path C:\website\youtube-clone-react\node_modules\esbuild npm error errno -4058 npm error enoent spawn C:\Program Files\Git\cmd ENOENT npm error enoent This is related to npm not being able to find a file. npm error enoent npm error A complete log of this run can be found in: C:\Users\kaviy\AppData\Local\npm-cache_logs\2024-06-25T07_20_28_330Z-debug-0.log
Additional information
No response