skip to Main Content

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


  1. First install npx:

    npm i npx
    

    and then run:

    npx create-react-app project-name
    
    Login or Signup to reply.
  2. Run this command on terminal or command prompt:

    npm install npm -g

    I hope this helps.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search