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

npm start error with create-react-app: event.js 167 //Unhandled 'error' event #7094

Closed
naima-shk opened this issue May 21, 2019 · 2 comments
Closed

Comments

@naima-shk
Copy link

Is this a bug report?

(write your answer here)

yes

Did you try recovering your dependencies?

yes

(Write your answer here.)
yes I tried all .
image
node --version 12.2.0
image
yarn --version 1.16.0

Which terms did you search for in User Guide?

https://github.com/facebook/create-react-app/issues/

(Write your answer here if relevant.)
__

Environment

(paste the output of the command here)
image

Steps to Reproduce

(Write your steps here:)

  1. I installed create-react-app web pack with a latest version of react v6.9.0 with node v12.2.0 .My web pack is showing error //events.js:173
    throw er; // Unhandled 'error' event
    ^

  2. I tried different solutions like uninstalled node-modules and re-installed it again but it did not work for me . Also tried unset HOST command but nothing works.

  3. when i run 'yarn start' it give me the same error //events.js:173
    throw er; // Unhandled 'error' event
    ^
    where as when in run 'yarn run' then it show me the 4 choices :
    1.build
    2.eject
    3.start
    4.test
    all 3 commands running successfully except 3rd one . it show me the same error events.js:173
    throw er; // Unhandled 'error' event
    ^

Expected Behavior

(Write what you thought would happen.)
the tool should solve my weird issue ASAP.

Actual Behavior

(Write what happened. Please add screenshots!)
image
same issue all the time is so annoying.

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)
https://github.com/naimiii/my-app

@heyimalex
Copy link
Contributor

Try this. It's an error spawning cmd which means that cmd isn't accessible in your PATH.

@stale
Copy link

stale bot commented Jun 21, 2019

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

@stale stale bot added the stale label Jun 21, 2019
@lock lock bot locked and limited conversation to collaborators Jun 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants