npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:UsersHPAppDataRoamingnpm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat ‘C:UsersHPAppDataRoamingnpm’
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:UsersHPAppDataLocalnpm-cache_logs2023-10-04T03_43_30_067Z-debug-0.log
PS D:React> how to resolve this error
i want to full solution to resolve this error
2
Answers
Try running your application from Command Prompt/Terminal.
This might be a permission issue.
Try running the command as root administrator and use
npx