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

Nodejs and git #4426

Closed
kaaya-27 opened this issue Jun 25, 2024 · 3 comments
Closed

Nodejs and git #4426

kaaya-27 opened this issue Jun 25, 2024 · 3 comments

Comments

@kaaya-27
Copy link

Version

v20.15.0

Platform

Windows 11

Subsystem

esbuild

What steps will reproduce the bug?

Screenshot 2024-06-25 123538

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?

Screenshot 2024-06-25 123538

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

@marco-ippolito

This comment was marked as resolved.

@marco-ippolito marco-ippolito closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
@VoltrexKeyva

This comment was marked as resolved.

@VoltrexKeyva
Copy link
Member

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.

@VoltrexKeyva VoltrexKeyva transferred this issue from nodejs/node Jun 25, 2024
@RedYetiDev RedYetiDev closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants