Can't create new file

Viewed 22

I am trying to create a new file in visual studio to install express and i'm getting this error again and again. Every time i want to create a new file, Error: EACCES: permission denied i get this error.

yogeshgautam@Mediocore Node Class % cd Client yogeshgautam@Mediocore Client % npx create-react-app newapp node:fs:1386 handleErrorFromBinding(ctx); ^

Error: EACCES: permission denied, mkdir 'newapp' at Object.mkdirSync (node:fs:1386:3) at Object.module.exports.makeDirSync (/Users/yogeshgautam/.npm/_npx/c67e74de0542c87c/node_modules/fs-extra/lib/mkdirs/make-dir.js:23:13) at createApp (/Users/yogeshgautam/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app/createReactApp.js:257:6) at /Users/yogeshgautam/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app/createReactApp.js:223:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) { errno: -13, syscall: 'mkdir', code: 'EACCES', path: 'newapp' } yogeshgautam@Mediocore Client %



I am trying to create new file again and again but i am getting the error.
0 Answers
Related