issue regarding react local server start
See original GitHub issuewhen i start react local server i was facing this type of error how can i resolve kindly help me
Starting the development server…
events.js:292 throw er; // Unhandled ‘error’ event ^
Error: spawn cmd ENOENT
←[90m at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)←[39m
←[90m at onErrorNT (internal/child_process.js:467:16)←[39m
←[90m at processTicksAndRejections (internal/process/task_queues.js:84:21)←[39m
Emitted ‘error’ event on ChildProcess instance at:
←[90m at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)←[39m
←[90m at onErrorNT (internal/child_process.js:467:16)←[39m
←[90m at processTicksAndRejections (internal/process/task_queues.js:84:21)←[39m {
errno: ←[33m-4058←[39m,
code: ←[32m’ENOENT’←[39m,
syscall: ←[32m’spawn cmd’←[39m,
path: ←[32m’cmd’←[39m,
spawnargs: [ ←[32m’/s’←[39m, ←[32m’/c’←[39m, ←[32m’start’←[39m, ←[32m’“”‘←[39m, ←[32m’/b’←[39m, ←[32m’“http://localhost:3000/”'←[39m ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! frontend@0.1.0 start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the frontend@0.1.0 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\AAKASH\AppData\Roaming\npm-cache_logs\2020-07-16T15_17_35_443Z-debug.log
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
so many failing issues with people on Windows 😦
Same trouble here, but downgrading to react-scripts@2.1.8 does not work for me.