search

Home  >  Q&A  >  body text

When creating a React app, I get an EPERM: Operation not allowed, mkdir 'my-app' error

I am trying to create a React application but when I use npx create-react-app myapp it shows Eperm error and when I use npm install -g create-react- ApplicationDisplay npm funds. I tried to solve it by reinstalling node js but without success.

P粉520545753P粉520545753488 days ago700

reply all(1)I'll reply

  • P粉946437474

    P粉9464374742023-09-09 09:01:32

    First install globally create-react-app, for example:

    npm install -g create-react-app

    You can then create your application, for example:

    npx create-react-app myapp

    reply
    0
  • Cancelreply