Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENOSPC: System limit for number of file watchers reached #5

Open
sandikodev opened this issue Mar 27, 2021 · 0 comments
Open

ENOSPC: System limit for number of file watchers reached #5

sandikodev opened this issue Mar 27, 2021 · 0 comments

Comments

@sandikodev
Copy link

> Task :app:bundleReleaseJsAndAssets
warning: the transform cache was reset.
internal/fs/watchers.js:226
    throw error;
    ^

Error: ENOSPC: System limit for number of file watchers reached, watch '/home/runner/work/try-deploy-gayatri/try-deploy-gayatri/node_modules/unimodules-constants-interface/android/build/intermediates/incremental/packageReleaseAssets'
    at FSWatcher.<computed> (internal/fs/watchers.js:218:26)
    at Object.watch (fs.js:1525:34)
    at NodeWatcher.watchdir (/home/runner/work/try-deploy-gayatri/try-deploy-gayatri/node_modules/sane/src/node_watcher.js:159:22)
    at Walker.<anonymous> (/home/runner/work/try-deploy-gayatri/try-deploy-gayatri/node_modules/sane/src/common.js:109:31)
    at Walker.emit (events.js:315:20)
    at /home/runner/work/try-deploy-gayatri/try-deploy-gayatri/node_modules/walker/lib/walker.js:69:16
    at FSReqCallback.oncomplete (fs.js:171:23) {

mention from this

https://stackoverflow.com/questions/55763428/react-native-error-enospc-system-limit-for-number-of-file-watchers-reached

i think we need some configurable
enospc file watcher limit. that might will be like...
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant