Evalai: gulp watch command failing when trying to run gulp dev again and again

Created on 4 Jan 2017  路  12Comments  路  Source: Cloud-CV/EvalAI

See the error below. Let me know if anyone else is facing this issue.

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

Error: watch /Users/deshraj/Documents/EvalAI/frontend/dist/css ENOENT
    at exports._errnoException (util.js:1022:11)
    at FSWatcher.start (fs.js:1305:19)
    at Object.fs.watch (fs.js:1330:11)
    at Gaze._watchDir (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/gaze.js:289:30)
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/gaze.js:358:10
    at iterate (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:52:5)
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:61:11
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/gaze.js:420:5
    at iterate (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:52:5)
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:61:11
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/gaze.js:420:5
    at iterate (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:52:5)
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:61:11
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/gaze.js:420:5
    at iterate (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:52:5)
    at Object.forEachSeries (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:66:3)
[1]-  Killed: 9               gulp watch
GSOC-2019 bug frontend

All 12 comments

@deshraj Please check that sass is installed or not?? Also look for the ruby version.

@aka-jain facing the same error . any fix ?

@deshraj : thanks to mention this bug. Anyone interested to solve this issue?

Basically, this is due to delete task of gulp which is deleting files while watch task correspondingly check for those files which doesn't exist as gulp dev also runs del task. So need to handle watch task.

Please go through this link to solve this issue.
http://stackoverflow.com/questions/35733090/gulp-watch-delete-files

@aka-jain since this is creating problem for me. Can I fix this ?

@anweshknayak : sure, go ahead.

@deshraj , @anweshknayak: one important thing don't run dev again and again, it is only made to run once when you start developement and left everything on watch task.

@aka-jain @anweshknayak I am still facing the same error. Please see the log below:

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

Error: watch /Users/deshraj/Documents/EvalAI/frontend/dist/images ENOENT
    at exports._errnoException (util.js:1022:11)
    at FSWatcher.start (fs.js:1305:19)
    at Object.fs.watch (fs.js:1330:11)
    at Gaze._watchDir (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/gaze.js:289:30)
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/gaze.js:358:10
    at iterate (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:52:5)
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:61:11
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/gaze.js:420:5
    at iterate (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:52:5)
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:61:11
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/gaze.js:420:5
    at iterate (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:52:5)
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:61:11
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/gaze.js:420:5
    at iterate (/Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:52:5)
    at /Users/deshraj/Documents/EvalAI/node_modules/gaze/lib/helper.js:61:11

@anweshknayak : please look at it once again? Maybe the path thing makes it wrong

Yes something to do with the base path. Will fix it.

@anweshknayak: Assigning it to you. To better analyze work-loads.

@dexter1691 I have already fixed this . #379

Closing it. :-)

Was this page helpful?
0 / 5 - 0 ratings