node:fs:1334 handleErrorFromBinding(ctx);
See original GitHub issueHello 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:
- Created 2 years ago
- Comments:10
Top GitHub Comments
try running
npx create-react-app my-app
in /home/user/{xxxxxxxxxxxxxxx}/new-folder/npx create-react-app my-app
I am also getting the same error but still cant resolve plz help !
.