npx create-react-app .
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:UsersMALIKAppDataRoamingnpm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat ‘C:UsersMALIKAppDataRoamingnpm’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR!
Solve my Query. I will be very thankful to to you….
2
Answers
First install npx:
and then run:
Run this command on terminal or command prompt:
npm install npm -g
I hope this helps.