why when i’m attempting to create a new React app using the create-react-app command, but I’m encountering an error related to npm

  Kiến thức lập trình

that what is it look like :

PS C:Userslayan> node -v
v21.7.3
PS C:Userslayan> npx -v
10.5.0
PS C:Userslayan> npx create-react-app projectone
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:UserslayanAppDataRoamingnpm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat ‘C:UserslayanAppDataRoamingnpm’
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:UserslayanAppDataLocalnpm-cache_logs2024-04-20T15_02_05_667Z-debug-0.log

i try to reinstall node js many to with many version but it is still not work

New contributor

user24524612 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT