2016-08-09 23 views
7

देखें हाय मुझे गल्फ घड़ी चलाने के दौरान यह त्रुटि मिल रही है। लार्वेल परियोजना में vueify का उपयोग कर रहा हूँ। ये क्यों हो रहा है। यह इन दिनों ठीक काम कर रहा था और यह आज आया था। क्यों इस मुद्दे हुआ:गुल त्रुटि: ENOSPC

$ gulp watch 
[12:56:01] Using gulpfile ~/Documents/web_projects/next-home/gulpfile.js 
[12:56:01] Starting 'watch'... 
[12:56:01] Starting 'browserify'... 
Fetching Browserify Source Files... 
    - resources/assets/js/app.js 
Saving To... 
    - public/js/app.js 
[12:56:02] Finished 'browserify' after 707 ms 
[12:56:02] 'watch' errored after 722 ms 
[12:56:02] Error: watch /home/bazi/Documents/web_projects/next-home/resources/assets/less/ ENOSPC 
    at exports._errnoException (util.js:893:11) 
    at FSWatcher.start (fs.js:1313:19) 
    at Object.fs.watch (fs.js:1341:11) 
    at Gaze._watchDir (/home/bazi/Documents/web_projects/next-home/node_modules/gaze/lib/gaze.js:289:30) 
    at /home/bazi/Documents/web_projects/next-home/node_modules/gaze/lib/gaze.js:358:10 
    at iterate (/home/bazi/Documents/web_projects/next-home/node_modules/gaze/lib/helper.js:52:5) 
    at Object.forEachSeries (/home/bazi/Documents/web_projects/next-home/node_modules/gaze/lib/helper.js:66:3) 
    at Gaze._initWatched (/home/bazi/Documents/web_projects/next-home/node_modules/gaze/lib/gaze.js:354:10) 
    at Gaze.add (/home/bazi/Documents/web_projects/next-home/node_modules/gaze/lib/gaze.js:177:8) 
    at new Gaze (/home/bazi/Documents/web_projects/next-home/node_modules/gaze/lib/gaze.js:74:10) 
events.js:154 
     throw er; // Unhandled 'error' event 
    ^ 
Error: watch /home/bazi/Documents/web_projects/next-home/package.json ENOSPC 
    at exports._errnoException (util.js:893:11) 
    at FSWatcher.start (fs.js:1313:19) 
    at Object.fs.watch (fs.js:1341:11) 
    at createFsWatchInstance (/home/bazi/Documents/web_projects/next-home/node_modules/chokidar/lib/nodefs-handler.js:37:15) 
    at setFsWatchListener (/home/bazi/Documents/web_projects/next-home/node_modules/chokidar/lib/nodefs-handler.js:80:15) 
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/bazi/Documents/web_projects/next-home/node_modules/chokidar/lib/nodefs-handler.js:228:14) 
    at FSWatcher.NodeFsHandler._handleFile (/home/bazi/Documents/web_projects/next-home/node_modules/chokidar/lib/nodefs-handler.js:255:21) 
    at FSWatcher.<anonymous> (/home/bazi/Documents/web_projects/next-home/node_modules/chokidar/lib/nodefs-handler.js:473:21) 
    at FSReqWrap.oncomplete (fs.js:82:15) 

और यह मेरा gulpfile.js

var elixir = require('laravel-elixir'); 
require('laravel-elixir-vueify'); 
elixir(function(mix) { 
    mix.less('app.less'); 
    mix.browserify('app.js'); 
}); 
+0

[ग्रंट घड़ी त्रुटि - प्रतीक्षा ... संभावित त्रुटि: ईएनएसएसपीसी देखें] (http://stackoverflow.com/questions/16748737/grunt-watch-error-waiting-fatal-error-watch-enospc) का संभावित डुप्लिकेट –

उत्तर

13

http://www.samundra.com.np/solved-gulp-watch-error-enospc/1386 से इस प्रयास करें है? सिस्टम में देखी जा सकने वाली फ़ाइलों की संख्या में सीमा है। हमें यह संख्या बढ़ाना है। इस नंबर को बढ़ाने के लिए नीचे दिए गए कमांड का उपयोग किया जा सकता है।

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

संबंधित लिंक https://github.com/gulpjs/gulp/issues/217

यह मेरे लिए काम किया। या आपके वॉचर को देखने की ज़रूरत वाली फ़ाइलों की संख्या कम करें।

संबंधित मुद्दे