Questions tagged «watchman»

14
React Native错误:ENOSPC:达到文件监视程序数量的系统限制
我已经设置了一个新的空白反应本机应用程序。 安装了几个节点模块后,出现此错误。 Running application on PGN518. internal/fs/watchers.js:173 throw error; ^ Error: ENOSPC: System limit for number of file watchers reached, watch '/home/badis/Desktop/react-native/albums/node_modules/.staging' at FSWatcher.start (internal/fs/watchers.js:165:26) at Object.watch (fs.js:1253:11) at NodeWatcher.watchdir (/home/badis/Desktop/react-native/albums/node modules/sane/src/node watcher. js:175:20) at NodeWatcher.<anonymous> (/home/badis/Desktop/react-native/albums/node modules/sane/src/node watcher. js:310:16) at /home/badis/Desktop/react-native/albums/node modules/graceful-fs/polyfills.js:285:20 at FSReqWrap.oncomplete (fs.js:154:5) 我知道这与看守人没有足够的空间来监视所有文件更改有关。 我想知道最好的行动方法是什么? 我应该node_modules通过将其添加到文件夹来忽略它.watchmanconfig吗?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.