You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> npx create-react-app first-projectnpm ERR! code ENOENTnpm ERR! syscall lstatnpm ERR! path C:\Users\dj waterside\AppData\Roaming\npmnpm ERR! errno -4058npm 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! enoentnpm 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
>
Activity
mwenku commentedon Jan 20, 2024
@noblez-90z, running the below command will create the npm directory which currently doesn't exist.
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-projecti hope this works for you
avivkeller commentedon Jun 1, 2024
@noblez-90z did the suggested answer work?
Also, make sure that you are downloading the latest version of React/Node.js/NPM, etc
noblez-90z commentedon Jun 12, 2024