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

erroe installing react #4331

Closed
noblez-90z opened this issue Jan 20, 2024 · 3 comments
Closed

erroe installing react #4331

noblez-90z opened this issue Jan 20, 2024 · 3 comments

Comments

@noblez-90z
Copy link

noblez-90z commented Jan 20, 2024

Details

> npx create-react-app first-project
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\dj waterside\AppData\Roaming\npm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\dj waterside\AppData\Roaming\npm'
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: C:\Users\dj waterside\AppData\Local\npm-cache\_logs\2024-01-20T06_09_40_398Z-deb0T06_09_40_398Z-debug-0.log
>

Node.js version

version 20.5.1

Example code

No response

Operating system

windows

Scope

installation

Module and version

Not applicable.

@mwelwankuta
Copy link

mwelwankuta commented Jan 20, 2024

@noblez-90z, running the below command will create the npm directory which currently doesn't exist.

npm install npm -g

as an alternative you can manually create the folder.

mkdir 'C:\Users\dj waterside\AppData\Roaming\npm'

if non of that works, you may try running the command prompt as an administrator when running npx create-react-app first-project

i hope this works for you

@RedYetiDev
Copy link
Member

@noblez-90z did the suggested answer work?

Also, make sure that you are downloading the latest version of React/Node.js/NPM, etc

@RedYetiDev RedYetiDev added the needs more info issues that need more info from the author label Jun 1, 2024
@RedYetiDev RedYetiDev added the stalled issues that did not receive response for a month label Jun 10, 2024
@noblez-90z
Copy link
Author

noblez-90z commented Jun 12, 2024 via email

@RedYetiDev RedYetiDev added workaround provided and removed needs more info issues that need more info from the author stalled issues that did not receive response for a month labels Jun 13, 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