Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm working in react-js and my app is not starting when i enter npm start then i got this error #8179

Closed
murtaza-ch opened this issue Dec 14, 2019 · 2 comments

Comments

@murtaza-ch
Copy link

Starting the development server...

events.js:170
throw er; // Unhandled 'error' event
^

Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:247:19)
at onErrorNT (internal/child_process.js:431:16)
at processTicksAndRejections (internal/process/task_queues.js:81:17)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:253:12)
at onErrorNT (internal/child_process.js:431:16)
at processTicksAndRejections (internal/process/task_queues.js:81:17)
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\Murtaza\AppData\Roaming\npm-cache_logs\2019-12-14T14_32_16_059Z-debug.log

@w3bdesign
Copy link

@murtaza-ch Can you post line 170 from events.js so we can see the code?

If possible, preferably the entire function as well.

@heyimalex
Copy link
Contributor

Duplicate of #7251

@heyimalex heyimalex marked this as a duplicate of #7251 Dec 15, 2019
@lock lock bot locked and limited conversation to collaborators Dec 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants