question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

node:fs:1334 handleErrorFromBinding(ctx);

See original GitHub issue

Hello everyone, I got an error when I’m creating my npx create-react-app my-app, I’ve been tried using the globally way with npm install -g create-react-app my-app but isn’t work too I hope you help me with this, the error is: `node:fs:1334 handleErrorFromBinding(ctx); ^

Error: EPERM: operation not permitted, mkdir ‘D:\my-app’ at Object.mkdirSync (node:fs:1334:3) at Object.module.exports.makeDirSync (C:\Users\Jose Andres\AppData\Local\npm-cache_npx\c67e74de0542c87c\node_modules\fs-extra\lib\mkdirs\make-dir.js:101:15) at createApp (C:\Users\Jose Andres\AppData\Local\npm-cache_npx\c67e74de0542c87c\node_modules\create-react-app\createReactApp.js:255:6) at C:\Users\Jose Andres\AppData\Local\npm-cache_npx\c67e74de0542c87c\node_modules\create-react-app\createReactApp.js:226:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) { errno: -4048, syscall: ‘mkdir’, code: ‘EPERM’, path: ‘D:\my-app’ }

Node.js v17.0.1`

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10

github_iconTop GitHub Comments

6reactions
spaipallecommented, Nov 8, 2021

try running npx create-react-app my-app in /home/user/{xxxxxxxxxxxxxxx}/new-folder/

  1. Navigate to /home/user/{xxxxx} folder
  2. Create a new directory
  3. Navigate to new directory
  4. Run npx create-react-app my-app
4reactions
AyushiG19commented, Feb 4, 2022

I am also getting the same error but still cant resolve plz help ! react_problem

.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve create react app directories error? - Stack Overflow
Kindly check your node installation, looks like it is either not installed or node has not been added to your environment path variable....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found