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

Created on 21 May 2019  路  2Comments  路  Source: facebook/create-react-app

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

question stale

Most helpful comment

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

All 2 comments

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oltsa picture oltsa  路  3Comments

alleroux picture alleroux  路  3Comments

Aranir picture Aranir  路  3Comments

xgqfrms-GitHub picture xgqfrms-GitHub  路  3Comments

dualcnhq picture dualcnhq  路  3Comments