Create-react-app: events.js:292 throw er; // Unhandled 'error' event

Created on 9 Aug 2020  路  14Comments  路  Source: facebook/create-react-app

i follow

yarn global add [email protected]
create-react-app confusion
yarn start
then got error
"events.js:292 throw er; // Unhandled 'error' event"
Screenshot (1083)

please sir solve these error I am facing these error many times on my laptop windows 8.1 dell

Most helpful comment

This problem is only present with [email protected], downgrading to [email protected] resolved the issue.
TRY THIS

create-react-app my-app
cd my-app
npm install [email protected]
npm start

All 14 comments

@Satyam62 Open Nodejs Command Prompt from search options and Run react-scripts start. It should work

It is not working in my react when I run >npm run json-server then I install concurrently by running the two our more code at the same time

E:\project-you\youapp>npm run json-server

[email protected] json-server E:\project-you\youapp
json-server --watch db.json --port 3001

{^_^}/ hi!

Loading db.json
Done

Resources
http://localhost:3001/posts
http://localhost:3001/comments
http://localhost:3001/profile

Home
http://localhost:3001

Type s + enter at any time to create a snapshot of the database
Watching...

I am facing the same problem. I followed
npx create-react-app myapp
cd myapp
npm start

Add path variable of your system
It will be solved

Added path variable of system still facing the same issue.

I have the same problem....

Add path variable of your system
It will be solved

what should we add as path variable pls write here

This problem is only present with [email protected], downgrading to [email protected] resolved the issue.
TRY THIS

create-react-app my-app
cd my-app
npm install [email protected]
npm start

i follow

yarn global add [email protected]
create-react-app confusion
yarn start
then got error
"events.js:292 throw er; // Unhandled 'error' event"
Screenshot (1083)

please sir solve these error I am facing these error many times on my laptop windows 8.1 dell

I have same problem , have you fixed it?

Thanks @rutikwankhade this worked for me
@paridhinigam10 try this
yarn global add create-react-app
create react app confusion
yarn start
This works for react scripts 3.0 and above

This problem is only present with [email protected], downgrading to [email protected] resolved the issue.
TRY THIS

create-react-app my-app
cd my-app
npm install [email protected]
npm start

Thanks, man! seriously I got frustrated I've tried many solutions but finally worked this for me. 馃憤

Thanks a lot bro...
i m trying last three days i gonna hopeless then i find that post finally i fixed that bug by using this post

3.1.4 react script has same problem

Thanks @rutikwankhade this worked for me
@paridhinigam10 try this
yarn global add create-react-app
create react app confusion
yarn start
This works for react scripts 3.0 and above

thanks man finally my react app running

Was this page helpful?
0 / 5 - 0 ratings