特黄特色三级在线观看免费,看黄色片子免费,色综合久,欧美在线视频看看,高潮胡言乱语对白刺激国产,伊人网成人,中文字幕亚洲一碰就硬老熟妇

學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 操作系統(tǒng) > Linux教程 > 怎樣處理Linux下gulp報(bào)錯(cuò)Error:watch ENOSPC

怎樣處理Linux下gulp報(bào)錯(cuò)Error:watch ENOSPC

時(shí)間: 春健736 分享

怎樣處理Linux下gulp報(bào)錯(cuò)Error:watch ENOSPC

  在Fedora和Ubuntu的操作系統(tǒng)下使用gulp的時(shí)候, gulp報(bào)錯(cuò)Error:watchENOSPC ,這是怎么回事?下面學(xué)習(xí)啦小編就為大家?guī)?lái)了處理Linux下gulp報(bào)錯(cuò)Error:watch ENOSPC的方法。

  處理Linux下gulp報(bào)錯(cuò)Error:watch ENOSPC方法

  用gulp啟動(dòng),錯(cuò)誤如下:

  Error: watch ENOSPC

  at exports._errnoException (util.js:746:11)

  at FSWatcher.start (fs.js:1172:11)

  at Object.fs.watch (fs.js:1198:11)

  at Gaze._watchDir (/home/ajaxGu/work/froad/anhui-standard/personal-h5/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:289:30)

  at /home/ajaxGu/work/froad/anhui-standard/personal-h5/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:358:10

  at iterate (/home/ajaxGu/work/froad/anhui-standard/personal-h5/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/helper.js:52:5)

  at Object.forEachSeries (/home/ajaxGu/work/froad/anhui-standard/personal-h5/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/helper.js:66:3)

  at Gaze._initWatched (/home/ajaxGu/work/froad/anhui-standard/personal-h5/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:354:10)

  at Gaze.add (/home/ajaxGu/work/froad/anhui-standard/personal-h5/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:177:8)

  at new Gaze (/home/ajaxGu/work/froad/anhui-standard/personal-h5/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:74:10)

  解決方案:

  當(dāng)前問(wèn)題主要是因?yàn)間ulp的watch需要監(jiān)聽(tīng)很多文件的改動(dòng),但是fedora、ubuntu系統(tǒng)的文件句柄其實(shí)是有限制的,因此可以使用以下命令:

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

怎樣處理Linux下gulp報(bào)錯(cuò)Error:watch ENOSPC相關(guān)文章:

1.Linux系統(tǒng)查看當(dāng)前時(shí)間的命令

2.linux如何下載驅(qū)動(dòng)硬盤

3.Linux教程

4.linux下怎么安裝Go開(kāi)發(fā)環(huán)境

5.Linux系統(tǒng)怎樣清理垃圾文件

6.如何把Linux操作系統(tǒng)變成中文語(yǔ)言

1470592