facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.69k stars 26.84k forks source link

create-react-app not installing #12519

Open SatheeshKumar1997 opened 2 years ago

SatheeshKumar1997 commented 2 years ago

Whenever I tried to install "npx create-react-app my-app", package are not installing and it's throwing an error , suggest how to resolve it. "Aborting installation. Unexpected error. Please report it as a bug: Error: spawn UNKNOWN at ChildProcess.spawn (node:internal/child_process:413:11) at Object.spawn (node:child_process:700:9) at spawn (C:\Users\user\Desktop\node_modules\cross-spawn\index.js:12:24) at C:\Users\user\Desktop\node_modules\create-react-app\createReactApp.js:383:19 at new Promise () at install (C:\Users\user\Desktop\node_modules\create-react-app\createReactApp.js:334:10) at C:\Users\user\Desktop\node_modules\create-react-app\createReactApp.js:461:16 at processTicksAndRejections (node:internal/process/task_queues:96:5) { errno: -4094, code: 'UNKNOWN', syscall: 'spawn' }".

advanced373 commented 2 years ago

Hello! I have the same issue.

ornevirardi commented 2 years ago

Hi, So, I had that issue and the way I could solve it was uninstalling Node from my pc, deleting permanently every single Node module and Node folder I could find from the local disk C (npm, modules, cache, etc) and reinstall everything again. Hope it helps!