F8app: ERROR watch... ENOSPC

Created on 26 May 2016  路  47Comments  路  Source: fbsamples/f8app

my system is android 4.4.4.

i use react-native start,but there are some problems,who can tell me why?

thank you very much.

 ERROR  watch /home/quoniam/myRNStudy/f8app/node_modules/react-native-linear-gradient/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-pl ENOSPC
{"code":"ENOSPC","errno":"ENOSPC","syscall":"watch /home/quoniam/myRNStudy/f8app/node_modules/react-native-linear-gradient/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-pl","filename":"/home/quoniam/myRNStudy/f8app/node_modules/react-native-linear-gradient/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-pl"}
Error: watch /home/quoniam/myRNStudy/f8app/node_modules/react-native-linear-gradient/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-pl ENOSPC
    at exports._errnoException (util.js:953:11)
    at FSWatcher.start (fs.js:1423:19)
    at Object.fs.watch (fs.js:1450:11)
    at NodeWatcher.watchdir (/home/quoniam/myRNStudy/f8app/node_modules/sane/src/node_watcher.js:144:20)
    at Walker.<anonymous> (/home/quoniam/myRNStudy/f8app/node_modules/sane/src/node_watcher.js:353:12)
    at emitTwo (events.js:106:13)
    at Walker.emit (events.js:191:7)
    at /home/quoniam/myRNStudy/f8app/node_modules/walker/lib/walker.js:69:16
    at /home/quoniam/myRNStudy/f8app/node_modules/graceful-fs/graceful-fs.js:142:16
    at /home/quoniam/myRNStudy/f8app/node_modules/graceful-fs/graceful-fs.js:142:16

Most helpful comment

Without using watchman, this can be fixed by increasing the number of inotify watches using echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

All 47 comments

I am using Ubuntu and getting same error. Were you able to fix it ?

@ask007java this maybe the problem of watchman.it has watched too many file.if it is,cancel the limit

Without using watchman, this can be fixed by increasing the number of inotify watches using echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

@grit96 You saved my day, was about to go back to native android away from react stuff :)

@grit96 thank you

@grit96 AWESOME! I've been looking for the whole day to fix it!

@grit96 thank you

@grit96 you sir is a real genious. does anyone know the cause of this problem? error always occur in differente packages for me eveytime it happens (if I don't reboot, it won't stop). @grit96 answer solved the problem

Saved my day, Thanks. @grit96

the problem is solved.so i closed this issue.

Thank you SO MUCH

Thanks a lot !

Thanks :+1:

awesome, thanks a lot

@grit96 Great

thanks hehe

perfect! :D Thanks you @grit96 !

Documentation here.

@grit96 Worked for me. Thanks!

Thanks @grit96

thanks @grit96

Thanks @grit96

thanks.. ur a great help men @grit96

Thanks @grit96 ! :+1:

Thanks @grit96 :+1: :heart: :heart_eyes:

Thank you!!!!!

Thanks a lot @grit96

@grit96 you are a lifesaver ... thanks!!!

Thanks man @grit96

@grit96 you are a legend thanks dude !!!

@grit96 Thanks. Works perfectly.

thanx buddy

thanks a lot

@grit96 You saved my day! Thanks bruh

@grit96
Thanks a lot!

You are hero, you are Chuck Norris, you are Superman without tights !!!

@grit96 You saved my day...Thanks a lot

And you keep saving lives! Thank you!

Thank You!!!....

Without using watchman, this can be fixed by increasing the number of inotify watches using echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Thank you grit96 you save my life

@grit96 Muito Obrigado,
thank you very much

Without using watchman, this can be fixed by increasing the number of inotify watches using echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

after executing this command the error gone
tq

@grit96 you saved my day man! thanks

I am using Ubuntu and getting same error. Were you able to fix it ?

same to you

Without using watchman, this can be fixed by increasing the number of inotify watches using echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

This worked for me...thanks a lot man

Much appreciated @grit96

Tks!!!

This worked for me...thanks

Was this page helpful?
0 / 5 - 0 ratings