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

Created on 14 May 2018  路  8Comments  路  Source: facebook/create-react-app

Is this a bug report?

yes)

Did you try recovering your dependencies?

no

(npm test)

Which terms did you search for in User Guide?

(Write your answer here if relevant.)

Environment

Environment:
OS: Windows 7
Node: Not Found
Yarn: Not Found
npm: Not Found
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found

ERROR: package.json not found!

(
Environment:
OS: Windows 7
Node: Not Found
Yarn: Not Found
npm: Not Found
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found

ERROR: package.json not found!
)

Steps to Reproduce

(Write your steps here:)

1.npm install -g create-react-app

  1. create-react-app my-app

Expected Behavior

(i thought the path was the problem but i checked the path and it was right)

Actual Behavior

(
behavoiour

)

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Most helpful comment

events.js:183
throw er; // Unhandled 'error' event
^
Error: watch /home/utkarsh/Dev/public ENOSPC

Same issue on ubuntu.

All 8 comments

I am facing the same issue...
with npm version-5.6.0 & node version - 8.11.4 & react": "^16.4.2

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

Could it be some event module that needs to be updated for windows?

events.js:183
throw er; // Unhandled 'error' event
^
Error: watch /home/utkarsh/Dev/public ENOSPC

Same issue on ubuntu.

Getting this issue on Ubuntu as well.

No Fixes?

Any solution for this?

this issue still exits , I am getting the same with the latest react

solution:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Was this page helpful?
0 / 5 - 0 ratings