Open nim29 opened 2 years ago
Try to clean the cache npm cache clean --force than npx clear-npx-cache and run again npx create-react-app my-app or npx create-react-app@latest my-app --use-npm.
If You still have this problem run Try to run cmd as administrator. If You installed create-react-app globaly than run npm uninstall -g create-react-app.
I had the same problem , I unistalled my antivirus and it worked.
Uninstalled antivirus worked for me.
I am also facing same issue, uninstalled antivirus, cleared cache but still issue is not resolved
Yo tengo el mismo problema, estoy desinstalando el antivirus a ver que
I am also facing same issue, uninstalled antivirus, cleared cache but still issue is not resolved
Same for me, it didn't work
Right-click on the command prompt select Run as administrator and type npm i create-react-app. After installing close the program and make a folder, open cmd, go to the folder and run npx uninstall create-react-app, also run npx uninstall -g create-react-app and after that run npx create-react-app issue resolved.
[error] Error: spawn UNKNOWN
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:700:9)
at module.exports (F:\OMS SOFTWARE\OMS SOFTWARE\Betpro\Trade-Bpro\node_modules\open\index.js:127:34)
at MergeMapSubscriber.project (F:\OMS SOFTWARE\OMS SOFTWARE\Betpro\Trade-Bpro\node_modules\@angular-devkit\build-angular\src\dev-server\index.js:243:27)
at runMicrotasks (
Please follow the link below - https://stackoverflow.com/a/72879257/15512430 it should solve your error
I am also facing same issue, uninstalled antivirus, cleared cache but still issue is not resolved
Do you checked your window security real-time protection it should be disabled when you npx create-react-app appname
Check your antivirus
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template...
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\Fast laptop\AppData\Roaming\npm\node_modules\create-react-app\node_modules\cross-spawn\index.js:12:24) at C:\Users\Fast laptop\AppData\Roaming\npm\node_modules\create-react-app\createReactApp.js:390:19 at new Promise () at install (C:\Users\Fast laptop\AppData\Roaming\npm\node_modules\create-react-app\createReactApp.js:341:10) at C:\Users\Fast laptop\AppData\Roaming\npm\node_modules\create-react-app\createReactApp.js:468:16 at processTicksAndRejections (node:internal/process/task_queues:96:5) { errno: -4094, code: 'UNKNOWN', syscall: 'spawn' }
Deleting generated file... package.json Deleting wsp-1/ from C:\Users\Fast laptop\Desktop Done.
Use a different network: For example, you can try connecting to a different Wi-Fi network or using a mobile hotspot.
Hope this should help you.This Works For me.
I am also facing same issue, uninstalled antivirus, cleared cache but still issue is not resolved
Same for me, it didn't work
Use a different network: For example, you can try connecting to a different Wi-Fi network or using a mobile hotspot.
Hope this should help you.This Works For me.
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template...
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\Fast laptop\AppData\Roaming\npm\node_modules\create-react-app\node_modules\cross-spawn\index.js:12:24) at C:\Users\Fast laptop\AppData\Roaming\npm\node_modules\create-react-app\createReactApp.js:390:19 at new Promise ()
at install (C:\Users\Fast laptop\AppData\Roaming\npm\node_modules\create-react-app\createReactApp.js:341:10)
at C:\Users\Fast laptop\AppData\Roaming\npm\node_modules\create-react-app\createReactApp.js:468:16
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errno: -4094,
code: 'UNKNOWN',
syscall: 'spawn'
}
Deleting generated file... package.json Deleting wsp-1/ from C:\Users\Fast laptop\Desktop Done.