I work on react App when I run it I get error
I dont know this error on which place and how to solve it
so can any one help me please ?
- Microsoft Windows [Version 6.1.7601]
- Copyright (c) 2009 Microsoft Corporation. All rights reserved.
- D:\ReactApp>cd client-app/
- D:\ReactApp\client-app>npm start
- > [email protected] start D:\ReactApp\client-app
- > react-scripts start
- Starting the development server...
- events.js:187
- throw er; // Unhandled 'error' event
- ^
- Error: spawn powershell ENOENT
- ←[90m at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)←[39m
- ←[90m at onErrorNT (internal/child_process.js:456:16)←[39m
- ←[90m at processTicksAndRejections (internal/process/task_queues.js:80:21)←[39m
- Emitted 'error' event on ChildProcess instance at:
- ←[90m at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)←[39m
- ←[90m at onErrorNT (internal/child_process.js:456:16)←[39m
- ←[90m at processTicksAndRejections (internal/process/task_queues.js:80:21)←[39m {
- errno: ←[33m-4058←[39m,
- code: ←[32m'ENOENT'←[39m,
- syscall: ←[32m'spawn powershell'←[39m,
- path: ←[32m'powershell'←[39m,
- spawnargs: [
- ←[32m'-NoProfile'←[39m,
- ←[32m'-NonInteractive'←[39m,
- ←[32m'–ExecutionPolicy'←[39m,
- ←[32m'Bypass'←[39m,
- ←[32m'-EncodedCommand'←[39m,
- ←[32m'UwB0AGEAcgB0ACAAIgBgACIAaAB0AHQAcAA6AC8ALwBsAG8AYwBhAGwAaABvAHMAdAA6ADMAMAAwADAAYAAiACIA'←[39m
- ]
- }
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! [email protected] start: `react-scripts start`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the [email protected] start script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! C:\Users\Ahmed-Salah\AppData\Roaming\npm-cache\_logs\2020-09-25T14_46_14_041Z-debug.log
- D:\ReactApp\client-app>
Siddharth GajbhiyePosted Sep 28, 2020, 11:21 PM
ahmed elbarbaryPosted Sep 28, 2020, 7:56 PM
Siddharth GajbhiyePosted Sep 28, 2020, 12:04 AM
ahmed elbarbaryPosted Sep 26, 2020, 7:31 PM
Siddharth GajbhiyePosted Sep 25, 2020, 11:19 PM
Rajanikant HawaldarPosted Sep 25, 2020, 10:32 AM