everytime when I run any npx command it gives me the same error.
Except when I run: npx -v
then it gives me the version: 9.2.0
here is the error:
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path E:\Development
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'E:\Development'
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:
npm ERR! C:\Users\Tim\AppData\Local\npm-cache\_logs\2023-01-02T20_03_57_627Z-debug-0.log
I have updated npm with nvm but that didnt make a change.
I want to run npx create-react-app myApp
or npx create-electron-app myApp
but every command gives me the same error.
Can somebody help me to get rid of this error ?
CodePudding user response:
I think you are facing the issue because your using an capital letter.
Try this npx create-react-app my-app