redux-saga / redux-saga-beginner-tutorial

Redux/Redux-saga beginner tutorial
MIT License
587 stars 545 forks source link

react-projects/redux-saga-beginner-tutorial/reducers.js ENOSPC #47

Open sufian07 opened 6 years ago

sufian07 commented 6 years ago

After cloning and installing repo when I run npm run I got

[0002] info  Server running at http://172.18.0.1:9966/ (connect)
[0002] info  LiveReload running on 35729
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: watch /home/sufian/PROJECTS/react-projects/redux-saga-beginner-tutorial/reducers.js ENOSPC
    at _errnoException (util.js:1022:11)
    at FSWatcher.start (fs.js:1382:19)
    at Object.fs.watch (fs.js:1408:11)
    at createFsWatchInstance (/home/sufian/PROJECTS/react-projects/redux-saga-beginner-tutorial/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/home/sufian/PROJECTS/react-projects/redux-saga-beginner-tutorial/node_modules/chokidar/lib/nodefs-handler.js:80:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/sufian/PROJECTS/react-projects/redux-saga-beginner-tutorial/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleFile (/home/sufian/PROJECTS/react-projects/redux-saga-beginner-tutorial/node_modules/chokidar/lib/nodefs-handler.js:255:21)
    at FSWatcher.<anonymous> (/home/sufian/PROJECTS/react-projects/redux-saga-beginner-tutorial/node_modules/chokidar/lib/nodefs-handler.js:473:21)
    at FSReqWrap.oncomplete (fs.js:153:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! redux-saga-beginner-tutorial@0.0.0 start: `budo main.js:build.js --dir ./ --verbose  --live -- -t babelify`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the redux-saga-beginner-tutorial@0.0.0 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!     /home/sufian/.npm/_logs/2018-07-20T08_35_29_667Z-debug.log

what to do?

nosplashurinal commented 5 years ago

@sufian07 I was getting this error but when I closed my code editor (vscode), it worked fine.